Skip to content

Commit

Permalink
azure: fix null pointer when updating in place cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
collin-woodruff-t1cg committed Mar 12, 2021
1 parent 8a8a4c8 commit 4670068
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 4670068

Please sign in to comment.