Skip to content

Commit 8db7f9f

Browse files
author
Per Goncalves da Silva
committed
next little fix
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 31a3250 commit 8db7f9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/controller/operators/catalog/subscription/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (s *subscriptionSyncer) notifyOnInstallPlan(ctx context.Context, obj interf
179179
for _, owner := range owners {
180180
subKey := fmt.Sprintf("%s/%s", plan.GetNamespace(), owner.Name)
181181
logger.Tracef("notifying subscription %s", subKey)
182-
s.Notify(kubestate.NewResourceEvent(kubestate.ResourceUpdated, cache.ExplicitKey(subKey)))
182+
s.Notify(kubestate.NewResourceEvent(kubestate.ResourceUpdated, subKey))
183183
}
184184
}
185185

pkg/controller/operators/olm/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ func (a *Operator) syncCopyCSV(obj interface{}) (syncError error) {
16741674
}
16751675

16761676
if err == nil {
1677-
go a.olmConfigQueue.AddAfter(kubestate.NewUpdateEvent(olmConfig), time.Second*5)
1677+
go a.olmConfigQueue.AddAfter(kubestate.NewUpdateEvent(olmConfig.GetName()), time.Second*5)
16781678
}
16791679

16801680
logger := a.logger.WithFields(logrus.Fields{

0 commit comments

Comments
 (0)