Skip to content

Commit 67ff6d8

Browse files
authored
Merge pull request #1289 from FrancoisKlieberOrange/feat/gke-zonal-cluster-support
feat: gke zonal cluster support
2 parents 3b70681 + 214964d commit 67ff6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/scope/managedcontrolplane.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (s *ManagedControlPlaneScope) Region() string {
212212

213213
// ClusterLocation returns the location of the cluster.
214214
func (s *ManagedControlPlaneScope) ClusterLocation() string {
215-
return fmt.Sprintf("projects/%s/locations/%s", s.GCPManagedControlPlane.Spec.Project, s.Region())
215+
return fmt.Sprintf("projects/%s/locations/%s", s.GCPManagedControlPlane.Spec.Project, s.GCPManagedControlPlane.Spec.Location)
216216
}
217217

218218
// ClusterFullName returns the full name of the cluster.

0 commit comments

Comments
 (0)