fix(deps): update module github.com/spf13/viper to v1.18.1 #208
Annotations
10 errors
lint:
internal/resolve/resolve_test.go#L226
SA5001: should check returned error before deferring file.Close() (staticcheck)
|
lint:
internal/resolve/resolve_test.go#L250
SA5001: should check returned error before deferring file.Close() (staticcheck)
|
lint:
internal/test_helpers/test_helpers_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
lint:
internal/utils/utils_test.go#L118
Error return value of `os.Chmod` is not checked (errcheck)
|
lint:
internal/utils/utils_test.go#L133
Error return value of `os.Chmod` is not checked (errcheck)
|
lint:
internal/metrics/metrics.go#L41
Error return value of `reg.Register` is not checked (errcheck)
|
lint:
internal/metrics/metrics.go#L42
Error return value of `reg.Register` is not checked (errcheck)
|
lint:
internal/handlers/certificates.go#L35
Error return value of `w.Write` is not checked (errcheck)
|
lint:
internal/handlers/config.go#L28
Error return value of `w.Write` is not checked (errcheck)
|
lint:
internal/handlers/healthz.go#L23
Error return value of `w.Write` is not checked (errcheck)
|