Skip to content

Commit

Permalink
lxd/resources/cpu: Fix revive linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
  • Loading branch information
mihalicyn committed Dec 19, 2024
1 parent 59e7e31 commit 82ebf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/resources/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func getCPUCache(path string) ([]api.ResourcesCPUCache, error) {
return caches, nil
}

func getCPUdmi() (string, string, error) {
func getCPUdmi() (vendor string, model string, err error) {
// Open the system DMI tables.
stream, _, err := smbios.Stream()
if err != nil {
Expand Down

0 comments on commit 82ebf0c

Please sign in to comment.