Skip to content

Commit

Permalink
Add extra logs to objectset controller
Browse files Browse the repository at this point in the history
  • Loading branch information
jbiers committed Feb 1, 2025
1 parent c746037 commit f168eb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/helm-locker/controllers/release/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ func Register(
}

func (h *handler) OnObjectSetChange(setID string, obj runtime.Object) (runtime.Object, error) {
logrus.Infof("Handling ObjectSet %s", setID)

helmReleases, err := h.helmReleaseCache.GetByIndex(HelmReleaseByReleaseKey, setID)
if err != nil {
return nil, fmt.Errorf("unable to find HelmReleases for objectset %s to trigger event", setID)
Expand Down

0 comments on commit f168eb7

Please sign in to comment.