Chaging log level when secret is not found (#53007)

This commit is contained in:
lean.dev 2022-08-01 09:25:24 -03:00 committed by GitHub
parent 6781041860
commit 3395981d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ func (kv *secretsKVStoreSQL) Get(ctx context.Context, orgId int64, namespace str
return err
}
if !has {
kv.log.Error("secret value not found", "orgId", orgId, "type", typ, "namespace", namespace)
kv.log.Debug("secret value not found", "orgId", orgId, "type", typ, "namespace", namespace)
return nil
}
isFound = true