From b8e8562a06a96b7a6c8c2f117c9a09a3ff6e2582 Mon Sep 17 00:00:00 2001 From: Ashok Siyani Date: Wed, 22 Nov 2023 12:02:32 +0000 Subject: [PATCH] make exp redable --- decrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decrypt.go b/decrypt.go index e031787..9fdf216 100644 --- a/decrypt.go +++ b/decrypt.go @@ -27,7 +27,7 @@ func ensureDecryption(ctx context.Context, cwd string, app applicationInfo) erro d, err := getKeyRingData(ctx, app.destinationNamespace, app.keyringSecret) if err != nil { // if there are no local secret file and secret is not found then its not an error - if !found == errors.Is(err, errNotFound) { + if !found && errors.Is(err, errNotFound) { return nil } return err