enable gce InstancesV2

This commit is contained in:
gongguan 2020-09-17 10:31:10 +08:00
parent 15db82234f
commit 16cc4ef823

View File

@ -660,9 +660,9 @@ func (g *Cloud) Instances() (cloudprovider.Instances, bool) {
}
// InstancesV2 returns an implementation of InstancesV2 for Google Compute Engine.
// TODO: implement ONLY for external cloud provider
// Implement ONLY for external cloud provider
func (g *Cloud) InstancesV2() (cloudprovider.InstancesV2, bool) {
return nil, false
return g, true
}
// Zones returns an implementation of Zones for Google Compute Engine.