Skip to content

Commit

Permalink
Merge pull request #2083 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2076-to-release-1.1

[release-1.1] Use correct subnet name in reconcileFrontendIPConfigs()
  • Loading branch information
k8s-ci-robot committed Jul 26, 2022
2 parents 425507b + 0521c54 commit 10b8ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/azure_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@ func (az *Cloud) reconcileFrontendIPConfigs(clusterName string, service *v1.Serv
}

if !existsSubnet {
return nil, toDeleteConfigs, false, fmt.Errorf("ensure(%s): lb(%s) - failed to get subnet: %s/%s", serviceName, lbName, az.VnetName, az.SubnetName)
return nil, toDeleteConfigs, false, fmt.Errorf("ensure(%s): lb(%s) - failed to get subnet: %s/%s", serviceName, lbName, az.VnetName, *subnetName)
}

configProperties := network.FrontendIPConfigurationPropertiesFormat{
Expand Down

0 comments on commit 10b8ba7

Please sign in to comment.