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 test: assert semvers are *not* compared lexically 2019-11-19 10:59:40 -08:00
discover
envoy consul/connect: fix regression where client connect images ignored 2020-12-14 09:47:55 -06:00
escapingio Handle when a new line follows an escaping char 2020-08-31 20:31:44 -04:00
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 Fix undefined: getEphemeralPortRange error on FreeBSD. 2020-02-27 14:54:55 -05:00
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 cli Ui implementation that logs to a hclogger 2019-02-19 17:53:14 -06:00
mount helper/mount: Add mount helper package 2020-03-23 13:58:29 -04:00
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 RPC errors must be wrapped in order to wrap internal errors (#8632) 2020-08-11 09:13:52 -04:00
raftutil Send events to EventSinks (#9171) 2020-10-26 17:27:54 -04:00
snapshot Apply suggestions from code review 2020-05-31 21:29:17 -04:00
stats
testlog tests: prefix agent logs to identify agent sources 2020-06-07 16:38:11 -04:00
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 Added service wrapper code (#6220) 2019-11-11 15:16:07 -05:00
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