diff --git a/admiral/pkg/clusters/serviceentry.go b/admiral/pkg/clusters/serviceentry.go index a1c50a04..b916e2bf 100644 --- a/admiral/pkg/clusters/serviceentry.go +++ b/admiral/pkg/clusters/serviceentry.go @@ -54,6 +54,7 @@ const ( gtpManagedByGithub = "github" gtpManagedByMeshAgent = "mesh-agent" gtpManagerMeshAgentFieldValue = "ewok-mesh-agent" + errorCluster = "error-cluster" ) func createServiceEntryForDeployment( @@ -1563,6 +1564,9 @@ func AddServiceEntriesWithDrWorker( } } } + if addSEorDRToAClusterError != nil { + addSEorDRToAClusterError = common.AppendError(addSEorDRToAClusterError, fmt.Errorf("%s=%s", errorCluster, cluster)) + } errors <- addSEorDRToAClusterError } }