1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 15:06:23 +00:00

Update cluster network and cloud provider options

This commit is contained in:
galal-hussein
2018-04-02 23:28:40 +02:00
parent 915ccddaa5
commit 79eaedfa26
2 changed files with 6 additions and 6 deletions

View File

@@ -362,9 +362,9 @@ func (c *Cluster) getEtcdProcessHostMap(readyEtcdHosts []*hosts.Host) map[*hosts
func (c *Cluster) parseCloudConfig(ctx context.Context) (string, error) {
// check for azure cloud provider
if c.AzureCloudProvider.TenantID != "" {
if c.CloudProvider.AzureCloudProvider != nil {
c.CloudProvider.Name = AzureCloudProvider
jsonString, err := json.MarshalIndent(c.AzureCloudProvider, "", "\n")
jsonString, err := json.MarshalIndent(c.CloudProvider.AzureCloudProvider, "", "\n")
if err != nil {
return "", err
}