open-nomad/helper
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
..
args
boltdd Implement 'batch mode' for persisting allocations on the client. (#9093) 2020-10-20 16:15:37 -04:00
codec
constraints/semver
discover
envoy consul/connect: fix regression where client connect images ignored 2020-12-14 09:47:55 -06:00
escapingio
fields
flags command: give flag-helpers a better name 2020-12-14 10:07:27 -06:00
flatmap Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
freeport
gated-writer gatedwriter: Fix race condition (#9791) 2021-01-14 12:43:14 -08:00
grpc-middleware/logging Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
logging
mount
noxssrw Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
pluginutils Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
pool
raftutil Send events to EventSinks (#9171) 2020-10-26 17:27:54 -04:00
snapshot
stats
testlog
testtask Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
tlsutil Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
useragent
uuid e2e: add e2e test for service registration 2021-01-05 08:48:12 -06:00
winsvc
funcs.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
funcs_test.go nomad operator debug - add pprof duration / csi details (#9346) 2020-12-01 12:36:05 -05:00