Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression fix: refer multiple services in custom mapping templates #955

Merged
merged 1 commit into from
Apr 22, 2021

Commits on Apr 21, 2021

  1. Regression fix: refer multiple services in custom mapping templates

    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>
    pedjak committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    c05438d View commit details
    Browse the repository at this point in the history