diff --git a/pkg/cloudprovider/providers/azure/azure_instances.go b/pkg/cloudprovider/providers/azure/azure_instances.go index 85e7f6acd1c..3d9d6447550 100644 --- a/pkg/cloudprovider/providers/azure/azure_instances.go +++ b/pkg/cloudprovider/providers/azure/azure_instances.go @@ -145,7 +145,7 @@ func (az *Cloud) InstanceTypeByProviderID(providerID string) (string, error) { return "", err } - return az.InstanceID(name) + return az.InstanceType(name) } // InstanceType returns the type of the specified instance.