Skip to content

Commit

Permalink
look for local cluster label
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <[email protected]>
  • Loading branch information
coleenquadros committed Nov 11, 2024
1 parent dca6d8c commit 109d14c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func getClusterPreds() predicate.Funcs {

//ACM 8509: Special case for local-cluster, we deploy endpoint and metrics collector in the hub
//whether hubSelfManagement is enabled or not
if isLocalCluster(e.Object) {
if !isLocalCluster(e.Object) {
managedClusterList.Delete(e.Object.GetName())
}
managedClusterImageRegistryMutex.Lock()
Expand Down

0 comments on commit 109d14c

Please sign in to comment.