open-nomad/client/devicemanager
Kris Hicks d71a90c8a4
Fix some errcheck errors (#9811)
* Throw away result of multierror.Append

When given a *multierror.Error, it is mutated, therefore the return
value is not needed.

* Simplify MergeMultierrorWarnings, use StringBuilder

* Hash.Write() never returns an error

* Remove error that was always nil

* Remove error from Resources.Add signature

When this was originally written it could return an error, but that was
refactored away, and callers of it as of today never handle the error.

* Throw away results of io.Copy during Bridge

* Handle errors when computing node class in test
2021-01-14 12:46:35 -08:00
..
state csi: docstring and log message fixups (#7327) 2020-03-23 13:58:30 -04:00
instance.go print the actual fingerprint error instead of an unrelated (and probably nil) error 2021-01-04 08:20:29 -05:00
manager.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
manager_test.go test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
testing.go client/pluginmanager: add plugin manager interface to device/driver managers 2018-12-18 22:56:23 -05:00
utils.go tests 2018-11-07 10:43:15 -08:00