Skip to content

Commit

Permalink
fixed error message (#421)
Browse files Browse the repository at this point in the history
Co-authored-by: Kent Rancourt <[email protected]>
  • Loading branch information
karthickbharathi1 and krancour authored Jun 14, 2023
1 parent ce0d684 commit 595bf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/promotions/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func SetupWebhookWithManager(
return []string{policy.Environment}
},
); err != nil {
return errors.Wrap(err, "error indexing Secrets by repo")
return errors.Wrap(err, "error indexing PromotionPolicies by Environment")
}
w := &webhook{
client: mgr.GetClient(),
Expand Down

0 comments on commit 595bf07

Please sign in to comment.