Skip to content

Commit 6d4c8e5

Browse files
authored
[disk][darwin]:rename unused parameter in function to fix lint
1 parent 935bb6c commit 6d4c8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disk/disk_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ type spnvmeDataWrapper struct {
118118
} `json:"SPNVMeDataType"`
119119
}
120120

121-
func SerialNumberWithContext(ctx context.Context, name string) (string, error) {
121+
func SerialNumberWithContext(ctx context.Context, _ string) (string, error) {
122122
output, err := invoke.CommandWithContext(ctx, "system_profiler", "SPNVMeDataType", "-json")
123123
if err != nil {
124124
return "", err

0 commit comments

Comments
 (0)