fix usestdlibvars linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
parent
d6404482e3
commit
b86af60308
@ -13,7 +13,6 @@ issues:
|
||||
- forbidigo
|
||||
- interfacebloat
|
||||
- predeclared
|
||||
- usestdlibvars
|
||||
- noctx
|
||||
- nilnil
|
||||
- nakedret
|
||||
|
||||
@ -569,6 +569,7 @@ func (v *Vault) IsVaultInitializedAndUnsealed() error {
|
||||
// 473 = if performance standby
|
||||
// 501 = if not initialized
|
||||
// 503 = if sealed
|
||||
// nolint: usestdlibvars // We use the numeric error codes here that we got from the Vault docs.
|
||||
if err != nil {
|
||||
switch {
|
||||
case healthResp == nil:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user