Skip to content

Commit

Permalink
address copilot comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiying-lin committed Dec 24, 2024
1 parent 7091138 commit f18e1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/framework/workload_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f18e1e0

Please sign in to comment.