From 9fda2c9cc6bfd670864f12ffe64f22af83dd9d9f Mon Sep 17 00:00:00 2001 From: Viktor Jacynycz Date: Thu, 4 Apr 2024 09:57:59 +0200 Subject: [PATCH] Remove unuser var --- internal/ingress/annotations/authtls/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ingress/annotations/authtls/main.go b/internal/ingress/annotations/authtls/main.go index b788ef3ee0..5724aec692 100644 --- a/internal/ingress/annotations/authtls/main.go +++ b/internal/ingress/annotations/authtls/main.go @@ -94,7 +94,7 @@ func (a authTLS) Parse(ing *networking.Ingress) (interface{}, error) { var secretInVault bool = true config := &Config{} - tlsauthsecret, err := parser.GetStringAnnotation("auth-tls-vault", ing) + tlsauthsecret, _ := parser.GetStringAnnotation("auth-tls-vault", ing) // If there is no secret in vault check for K8s secret if tlsauthsecret == "" {