-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(networkacl): Correct update order and entries/associations handle…
…rs (#202) The custom update logic for `NetworkACL` resources was syncing the `Entries` before the `Tags`. This could lead to issues if the `Entries` sync failed as the Tags would not be updated.. This change also updates the order to sync `Tags` before `Entries`. It also uses `DeepCopy` when passing the resource to `createAssociation` and `createEntries to avoid modifying the original desired state. Additionally, the exit functions in `hooks.go` were fixed to properly handle the error return value. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Showing
4 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters