open-nomad/plugins/device
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
..
cmd/example Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00
proto use comment ignores (#9448) 2020-11-25 16:03:01 -05:00
client.go Merge pull request #5229 from hashicorp/r-grabbag-201901019 2019-01-23 13:06:51 -05:00
device.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
mock.go fix race 2018-11-07 12:22:07 -08:00
plugin.go Plugin client's handle plugin dying 2018-11-12 17:09:27 -08:00
plugin_test.go Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00
server.go Device manager 2018-11-07 10:43:15 -08:00
util.go Move Stat{Object|Value} to plugins/shared/structs 2018-11-14 09:01:26 -05:00
versions.go Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00