Skip to content

Commit

Permalink
Merge pull request #11015 from t1cg/caw/fixNullPointerOnUpdate
Browse files Browse the repository at this point in the history
azure: fix null pointer when updating in place cluster
  • Loading branch information
k8s-ci-robot committed Mar 12, 2021
2 parents d1f17c6 + 4670068 commit 6d3c7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/azuretasks/vmscaleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d3c7d4

Please sign in to comment.