-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression fix: refer multiple services in custom mapping templates (#…
…955) service structs are initialized inside a `for range` loop, and the loop variable is passed as a reference to each of service structs. However, with each new iteration its value changes, but the reference remains the same, leading that the value of the last iteration is passed to all service structs eventually. * do not pass loop variable to service structs * unit tests were extended to detect regressions in the future * `Bind two backend services by creating 1 SBR to a single application` acceptance test was modified to detect regressions in the future Signed-off-by: Predrag Knezevic <pknezevi@redhat.com>
- Loading branch information
Showing
4 changed files
with
33 additions
and
6 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
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