Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarbian-sap committed Nov 9, 2024
1 parent 140e26a commit 76f98d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
)

// TODO: write some logs (e.g. in the hooks)
// TODO: use source digest instead of (resp. in parallel to) source revision

const Name = "component-operator.cs.sap.com"

Expand Down Expand Up @@ -123,7 +124,7 @@ func (o *Operator) Setup(mgr ctrl.Manager) error {
o.options.Name,
resourceGenerator,
component.ReconcilerOptions{
UpdatePolicy: &[]reconciler.UpdatePolicy{reconciler.UpdatePolicySsaOverride}[0],
UpdatePolicy: ref(reconciler.UpdatePolicySsaOverride),
},
).WithPostReadHook(
makeFuncPostRead(),
Expand Down

0 comments on commit 76f98d7

Please sign in to comment.