diff --git a/test/e2e/framework/workload_manager.go b/test/e2e/framework/workload_manager.go index 2323dd4a..9340a0ab 100644 --- a/test/e2e/framework/workload_manager.go +++ b/test/e2e/framework/workload_manager.go @@ -220,7 +220,7 @@ func (wm *WorkloadManager) AddServiceDNSLabel(ctx context.Context, cluster *Clus // BuildServiceDNSLabelName builds the DNS label name for the service. func (wm *WorkloadManager) BuildServiceDNSLabelName(cluster *Cluster) string { - return fmt.Sprintf("%s-%s-%s", wm.namespace, wm.service.Name, cluster.name) + return fmt.Sprintf("%s-%s-%s", wm.namespace, wm.service.Name, cluster.Name()) } // RemoveWorkload deletes workload(deployment and its service) from member clusters.