fix usestdlibvars linter

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Tim Ramlot 2024-04-29 16:54:13 +02:00
parent d6404482e3
commit b86af60308
No known key found for this signature in database
GPG Key ID: 47428728E0C2878D
2 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,6 @@ issues:
- forbidigo
- interfacebloat
- predeclared
- usestdlibvars
- noctx
- nilnil
- nakedret

View File

@ -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: