Skip to content

Commit ae0364e

Browse files
committed
[disk][freebsd] include serial number in IOCounters
1 parent f6cc356 commit ae0364e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

disk/disk_freebsd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOC
137137
IoTime: uint64(d.Busy_time.Compute() * 1000),
138138
Name: name,
139139
}
140+
ds.SerialNumber, _ = SerialNumberWithContext(ctx, name)
140141
ret[name] = ds
141142
}
142143

0 commit comments

Comments
 (0)