You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IOCountersWithContext func in disk_windows.go accepts a list of device names as the filter, however, the windows imlementation of this func does not implements the filter. The linux version and darwin version don't have this issue.
To Reproduce
stats, err:=disk.IOCounters(deviceNames...)
Expected behavior
The IOCounter returned should filter device names
Environment (please complete the following information):
Windows: [paste the result of ver] windows server 2022
Linux: [paste contents of /etc/os-release and the result of uname -a]
Mac OS: [paste the result of sw_vers and uname -a
FreeBSD: [paste the result of freebsd-version -k -r -u and uname -a]
OpenBSD: [paste the result of uname -a]
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
The IOCountersWithContext func in disk_windows.go accepts a list of device names as the filter, however, the windows imlementation of this func does not implements the filter. The linux version and darwin version don't have this issue.
To Reproduce
Expected behavior
The IOCounter returned should filter device names
Environment (please complete the following information):
ver
] windows server 2022/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]Additional context
The text was updated successfully, but these errors were encountered: