mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
bdbf96d7d4
Scan the mounted host sysfs instead of hard coded /sys mount point. Currently, sysfs devices subdir is not namespaced in Linux (containers have the same view as the host) so this wasn't an issue in practice. However, this change should make the code more future proof and align usb with other sysfs detection in nfd. |
||
---|---|---|
.. | ||
cpu | ||
custom | ||
fake | ||
kernel | ||
local | ||
memory | ||
network | ||
pci | ||
storage | ||
system | ||
usb | ||
mock_LabelSource.go | ||
source.go | ||
source_test.go |