We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98db0db commit 082b6a8Copy full SHA for 082b6a8
pkg/provider/loadbalancer/securitygroup/securityrule.go
@@ -99,7 +99,7 @@ func ListSourcePrefixes(r *network.SecurityRule) []string {
99
100
func ListDestinationPrefixes(r *network.SecurityRule) []string {
101
var rv []string
102
- if r.DestinationAddressPrefix != nil {
+ if r.DestinationAddressPrefix != nil && *r.DestinationAddressPrefix != "" {
103
rv = append(rv, *r.DestinationAddressPrefix)
104
}
105
if r.DestinationAddressPrefixes != nil {
0 commit comments