Skip to content

Commit

Permalink
Merge pull request #1254 from scop/fix/freebsd-iocounters-disk-serial
Browse files Browse the repository at this point in the history
[disk][freebsd] include serial number in IOCounters
  • Loading branch information
shirou committed Feb 24, 2022
2 parents 9a667f1 + ae0364e commit b47e88a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disk/disk_freebsd.go
Expand Up @@ -137,6 +137,7 @@ func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOC
IoTime: uint64(d.Busy_time.Compute() * 1000),
Name: name,
}
ds.SerialNumber, _ = SerialNumberWithContext(ctx, name)
ret[name] = ds
}

Expand Down

0 comments on commit b47e88a

Please sign in to comment.