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

fix(aws): Fix bug in AWS provider after Groovy 3 upgrade (backport #6142) #6143

Merged
merged 1 commit into from
Feb 1, 2024

Commits on Feb 1, 2024

  1. fix(aws): Fix bug in AWS provider after Groovy 3 upgrade (#6142)

    * fix(aws): Fix bug in AWS provider after Groovy 3 upgrade
    
    I'm unsure how this code has ever worked, but after the upgrade to Groovy 3, it started crashing.
    
    ```
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{loadBalancers=aws:loadBalancers:my-aws-account:eu-west-1:*:vpc-????????:*}' with class 'java.util.LinkedHashMap' to class 'java.util.Optional' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.Optional(LinkedHashMap)
    ```
    
    * Add tests
    
    (cherry picked from commit b19a906)
    jervi authored and mergify[bot] committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    ae10489 View commit details
    Browse the repository at this point in the history