Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove wrong error log #1552

Merged
merged 1 commit into from
Jan 3, 2024
Merged

chore: remove wrong error log #1552

merged 1 commit into from
Jan 3, 2024

Conversation

yashmehrotra
Copy link
Member

No description provided.

@@ -229,7 +230,7 @@ func (r *CanaryReconciler) Report() {
var canary v1.Canary
err := r.Get(gocontext.Background(), payload.NamespacedName, &canary)
if err != nil {
r.Log.Error(err, "failed to get canary", "canary", payload.NamespacedName)
logger.Debugf("failed to fetch canary while reporting (possibly not a CRD): %v", err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not check the source and not even attempt it ifs not a crd ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moshloop 👍🏽

@yashmehrotra yashmehrotra force-pushed the remove-wrong-error-log branch 2 times, most recently from a865450 to 16a3867 Compare January 3, 2024 06:39
@moshloop moshloop merged commit d12f8fe into master Jan 3, 2024
14 checks passed
@yashmehrotra yashmehrotra deleted the remove-wrong-error-log branch April 1, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants