Skip to content

Commit

Permalink
Fix wrong informer use
Browse files Browse the repository at this point in the history
Signed-off-by: David Festal <dfestal@redhat.com>
  • Loading branch information
davidfestal committed Jan 10, 2023
1 parent a22427d commit 3de7ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/syncer/namespace/namespace_downstream_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func NewDownstreamController(
return informer.Lister().Get(downstreamNamespaceName)
},
listDownstreamNamespaces: func() ([]runtime.Object, error) {
informer, err := ddsifForUpstreamSyncer.ForResource(namespaceGVR)
informer, err := ddsifForDownstream.ForResource(namespaceGVR)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 3de7ac8

Please sign in to comment.