Skip to content

Commit

Permalink
Fix reconciliation comparisons when there are no NSGs (#329)
Browse files Browse the repository at this point in the history
* Fix reconciliation comparisons when there are no NSGs
  • Loading branch information
shyamradhakrishnan committed Sep 11, 2023
1 parent 50d8a0c commit a21605b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ security features are welcome on GitHub Issues.

Security updates will be released on a regular cadence. Many of our projects
will typically release security fixes in conjunction with the
[Oracle Critical Patch Update][3] program. Additional
Oracle Critical Patch Update program. Additional
information, including past advisories, is available on our [security alerts][4]
page.

Expand Down
3 changes: 3 additions & 0 deletions cloud/scope/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const (

// GetNsgNamesFromId returns the names of the NSGs with the provided IDs
func GetNsgNamesFromId(ids []string, nsgs []*infrastructurev1beta2.NSG) []string {
if len(ids) == 0 {
return nil
}
names := make([]string, 0)
for _, id := range ids {
for _, nsg := range nsgs {
Expand Down

0 comments on commit a21605b

Please sign in to comment.