mirror of https://github.com/kubernetes/kops.git
Merge pull request #11015 from t1cg/caw/fixNullPointerOnUpdate
azure: fix null pointer when updating in place cluster
This commit is contained in:
commit
6d3c7d4117
|
|
@ -182,7 +182,7 @@ func (s *VMScaleSet) Find(c *fi.Context) (*VMScaleSet, error) {
|
|||
}
|
||||
|
||||
var loadBalancerID *loadBalancerID
|
||||
if *ipConfig.LoadBalancerBackendAddressPools != nil {
|
||||
if ipConfig.LoadBalancerBackendAddressPools != nil {
|
||||
for _, i := range *ipConfig.LoadBalancerBackendAddressPools {
|
||||
if !strings.Contains(*i.ID, "api") {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue