mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Fix InstanceTypeByProviderID for Azure
This commit is contained in:
parent
4457e43e7b
commit
09f0850da3
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user