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 0b4221c commit f07abdcCopy full SHA for f07abdc
cloud/scope/util.go
@@ -32,7 +32,7 @@ func GetNsgNamesFromId(ids []string, nsgs []*infrastructurev1beta2.NSG) []string
32
names := make([]string, 0)
33
for _, id := range ids {
34
for _, nsg := range nsgs {
35
- if id == *nsg.ID {
+ if nsg != nil && nsg.ID != nil && id == *nsg.ID {
36
names = append(names, nsg.Name)
37
}
38
0 commit comments