Skip to content

Commit

Permalink
Merge pull request #2556 from ironcladlou/azure-cloudprovider-subnet-fix
Browse files Browse the repository at this point in the history
Fix Azure cloud provider subnet reference
  • Loading branch information
openshift-merge-robot authored Oct 24, 2019
2 parents 52a0a8a + cfa5d59 commit 37fbe86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/asset/manifests/cloudproviderconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (cpc *CloudProviderConfig) Generate(dependencies asset.Parents) error {
if installConfig.Config.Azure.VirtualNetwork != "" {
vnet = installConfig.Config.Azure.VirtualNetwork
}
subnet := fmt.Sprintf("%s-node-subnet", clusterID.InfraID)
subnet := fmt.Sprintf("%s-worker-subnet", clusterID.InfraID)
if installConfig.Config.Azure.ComputeSubnet != "" {
subnet = installConfig.Config.Azure.ComputeSubnet
}
Expand Down

0 comments on commit 37fbe86

Please sign in to comment.