Skip to content

Commit 33d2139

Browse files
committed
no resource message
1 parent a532f2f commit 33d2139

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/runtime/service_controller.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,12 @@ func (c *serviceController) BindControllerManager(mgr ctrlrt.Manager, cfg ackcfg
278278
return fmt.Errorf("error parsing reconcile resources: %v", err)
279279
}
280280

281+
if len(reconcileResources) == 0 {
282+
c.log.Info("No resources? Did they all go on vacation? Defaulting to reconciling all resources.")
283+
}
281284
// Filter the resource manager factories
282285
filteredRMFs := c.rmFactories
283286
if len(reconcileResources) > 0 {
284-
285287
filteredRMFs = make(map[string]acktypes.AWSResourceManagerFactory)
286288
for key, rmf := range c.rmFactories {
287289
rd := rmf.ResourceDescriptor()

0 commit comments

Comments
 (0)