Skip to content

Commit

Permalink
set proper property
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Lieberman committed Jul 14, 2022
1 parent a38a8d3 commit 24b09a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/services/scalesets/scalesets.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func (s *Service) buildVMSSFromSpec(ctx context.Context, vmssSpec azure.ScaleSet
}
if i == 0 {
ipconfigs[0].LoadBalancerBackendAddressPools = &backendAddressPools
nicConfig.Primary = to.BoolPtr(true)
nicConfig.VirtualMachineScaleSetNetworkConfigurationProperties.Primary = to.BoolPtr(true)
}
ipconfigs[0].Primary = to.BoolPtr(true)
nicConfig.VirtualMachineScaleSetNetworkConfigurationProperties.IPConfigurations = &ipconfigs
Expand Down

0 comments on commit 24b09a8

Please sign in to comment.