Skip to content

Commit

Permalink
[disk][freebsd] include serial number in IOCounters
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Feb 22, 2022
1 parent f6cc356 commit ae0364e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disk/disk_freebsd.go
Original file line number Diff line number Diff line change
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 ae0364e

Please sign in to comment.