Update to latest procfs library (#1611)
Bump to v0.0.10 procfs library. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
dcfd610433
commit
14df2a1a1a
17 changed files with 849 additions and 250 deletions
2
vendor/github.com/prometheus/procfs/sysfs/class_infiniband.go
generated
vendored
2
vendor/github.com/prometheus/procfs/sysfs/class_infiniband.go
generated
vendored
|
|
@ -97,7 +97,7 @@ func (fs FS) InfiniBandClass() (InfiniBandClass, error) {
|
|||
|
||||
dirs, err := ioutil.ReadDir(path)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to list InfiniBand devices at %q: %v", path, err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
ibc := make(InfiniBandClass, len(dirs))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue