diff --git a/.golangci.yaml b/.golangci.yaml index ee41d5b14..fe33a9879 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -13,7 +13,6 @@ issues: - forbidigo - interfacebloat - predeclared - - usestdlibvars - noctx - nilnil - nakedret diff --git a/internal/vault/vault.go b/internal/vault/vault.go index a4ab1aec1..e9a24307b 100644 --- a/internal/vault/vault.go +++ b/internal/vault/vault.go @@ -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: