Fix InstanceTypeByProviderID for Azure

This commit is contained in:
Dong Liu 2017-08-30 13:00:21 +08:00
parent 4457e43e7b
commit 09f0850da3

View File

@ -145,7 +145,7 @@ func (az *Cloud) InstanceTypeByProviderID(providerID string) (string, error) {
return "", err return "", err
} }
return az.InstanceID(name) return az.InstanceType(name)
} }
// InstanceType returns the type of the specified instance. // InstanceType returns the type of the specified instance.