From 6d4c8e567ef3ade074e958253eb446b72402dc2f Mon Sep 17 00:00:00 2001 From: shirou Date: Sat, 29 Mar 2025 13:46:28 +0900 Subject: [PATCH] [disk][darwin]:rename unused parameter in function to fix lint --- disk/disk_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/disk_darwin.go b/disk/disk_darwin.go index 0446de9..04d1564 100644 --- a/disk/disk_darwin.go +++ b/disk/disk_darwin.go @@ -118,7 +118,7 @@ type spnvmeDataWrapper struct { } `json:"SPNVMeDataType"` } -func SerialNumberWithContext(ctx context.Context, name string) (string, error) { +func SerialNumberWithContext(ctx context.Context, _ string) (string, error) { output, err := invoke.CommandWithContext(ctx, "system_profiler", "SPNVMeDataType", "-json") if err != nil { return "", err