Skip to content

Commit 16cc4ef

Browse files
committed
enable gce InstancesV2
1 parent 15db822 commit 16cc4ef

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/legacy-cloud-providers/gce

1 file changed

+2
-2
lines changed

staging/src/k8s.io/legacy-cloud-providers/gce/gce.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,9 @@ func (g *Cloud) Instances() (cloudprovider.Instances, bool) {
660660
}
661661

662662
// InstancesV2 returns an implementation of InstancesV2 for Google Compute Engine.
663-
// TODO: implement ONLY for external cloud provider
663+
// Implement ONLY for external cloud provider
664664
func (g *Cloud) InstancesV2() (cloudprovider.InstancesV2, bool) {
665-
return nil, false
665+
return g, true
666666
}
667667

668668
// Zones returns an implementation of Zones for Google Compute Engine.

0 commit comments

Comments
 (0)