mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
Add get node for delete and cordon
This commit is contained in:
@@ -370,6 +370,10 @@ func (c *Cluster) parseCloudConfig(ctx context.Context) (string, error) {
|
||||
}
|
||||
return string(jsonString), nil
|
||||
}
|
||||
if c.CloudProvider.AWSCloudProvider != nil {
|
||||
c.CloudProvider.Name = AWSCloudProvider
|
||||
return "", nil
|
||||
}
|
||||
if len(c.CloudProvider.CloudConfig) == 0 {
|
||||
return "", nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user