Skip to content

Commit

Permalink
change log from error to info
Browse files Browse the repository at this point in the history
  • Loading branch information
I065450 committed Oct 7, 2024
1 parent 765f5e5 commit 940dbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/secret_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (sr *secretClient) getSecretFromManagementNamespace(ctx context.Context, na
sr.Log.Info(fmt.Sprintf("Searching for secret %s in management namespace %s", name, sr.ManagementNamespace))
err := sr.getWithClientFallback(ctx, types.NamespacedName{Name: name, Namespace: sr.ManagementNamespace}, secretForResource)
if err != nil {
sr.Log.Error(err, fmt.Sprintf("Could not fetch secret %s from management namespace %s", name, sr.ManagementNamespace))
sr.Log.Info(fmt.Sprintf("Could not fetch secret %s from management namespace %s", name, sr.ManagementNamespace))
return nil, err
}
return secretForResource, nil
Expand Down

0 comments on commit 940dbb9

Please sign in to comment.