Skip to content

Commit

Permalink
lxd/instance/drivers/edk: Comment improvement on GetArchitectureFirmw…
Browse files Browse the repository at this point in the history
…arePairsForUsage

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Sep 6, 2024
1 parent ef75f76 commit bdf1e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxd/instance/drivers/edk2/edk2.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ func GetAchitectureFirmwareVarsCandidates(hostArch int) (varsNames []string) {
return
}

// GetArchitectureFirmwarePairsForUsage creates an array of FirmwarePair
// for a specific host architecture and usage combination.
// GetArchitectureFirmwarePairsForUsage returns FirmwarePair slice for a host architecture and usage combination.
// It only includes FirmwarePairs where both the firmware and its vars file are found on the host.
func GetArchitectureFirmwarePairsForUsage(hostArch int, usage FirmwareUsage) []FirmwarePair {
firmwares := make([]FirmwarePair, 0)

Expand Down

0 comments on commit bdf1e44

Please sign in to comment.