Skip to content

Commit 2bc3fef

Browse files
authored
fix: Fix argument order in resource filter (#436)
Signed-off-by: jannfis <[email protected]>
1 parent e03364f commit 2bc3fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sync/sync_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ func (sc *syncContext) started() bool {
608608
}
609609

610610
func (sc *syncContext) containsResource(resource reconciledResource) bool {
611-
return sc.resourcesFilter == nil || sc.resourcesFilter(resource.key(), resource.Live, resource.Target)
611+
return sc.resourcesFilter == nil || sc.resourcesFilter(resource.key(), resource.Target, resource.Live)
612612
}
613613

614614
// generates the list of sync tasks we will be performing during this sync.

0 commit comments

Comments
 (0)