@@ -183,7 +183,7 @@ func (p *clusterProxy) GetWorkloadCluster(ctx context.Context, namespace, name s
183183	// gets the kubeconfig from the cluster 
184184	config  :=  p .getKubeconfig (ctx , namespace , name )
185185
186- 	// if we are on mac and the cluster is a DockerCluster, it is required to fix the master  address 
186+ 	// if we are on mac and the cluster is a DockerCluster, it is required to fix the control plane  address 
187187	// by using localhost:load-balancer-host-port instead of the address used in the docker network. 
188188	if  goruntime .GOOS  ==  "darwin"  &&  p .isDockerCluster (ctx , namespace , name ) {
189189		p .fixConfig (ctx , name , config )
@@ -226,12 +226,12 @@ func (p *clusterProxy) fixConfig(ctx context.Context, name string, config *api.C
226226	port , err  :=  findLoadBalancerPort (ctx , name )
227227	Expect (err ).ToNot (HaveOccurred (), "Failed to get load balancer port" )
228228
229- 	masterURL  :=  & url.URL {
229+ 	controlPlaneURL  :=  & url.URL {
230230		Scheme : "https" ,
231231		Host :   "127.0.0.1:"  +  port ,
232232	}
233233	currentCluster  :=  config .Contexts [config .CurrentContext ].Cluster 
234- 	config .Clusters [currentCluster ].Server  =  masterURL .String ()
234+ 	config .Clusters [currentCluster ].Server  =  controlPlaneURL .String ()
235235}
236236
237237func  findLoadBalancerPort (ctx  context.Context , name  string ) (string , error ) {
0 commit comments