Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gdvalle committed Aug 18, 2023
1 parent b2d1f05 commit 0a23dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/disk_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOC
d.Name = name

// Names passed in can be full paths (/dev/sda) or just device names (sda).
// Since `name`` here is already a basename, re-add the /dev path.
// Since `name` here is already a basename, re-add the /dev path.
// This is not ideal, but we may break the API by changing how SerialNumberWithContext
// works.
d.SerialNumber, _ = SerialNumberWithContext(ctx, common.HostDevWithContext(ctx, name))
Expand Down

0 comments on commit 0a23dc6

Please sign in to comment.