open-nomad/helper/pluginutils/loader
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
..
api_versions.go plugin: ensure plugin loader maps correct API version to type. 2020-03-31 12:31:56 +02:00
filter_unix.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
filter_windows.go Fix executable check on windows 2019-02-08 16:05:14 -05:00
init.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
instance.go cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00
loader.go cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00
loader_test.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
plugin_test.go cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00
testing.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
util.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00