Skip to content

Conversation

@a-hilaly
Copy link
Member

Follow up to #29

Description of changes:

  • Update lambda service testdata files
  • Corrects the order/placement of the arguments passed to the compareSlice and compareMap functions
  • Add TestCompareResource_Lambda_CodeSigningConfig to test lambda code generation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copied from test data from github.com/aws/aws-sdk-go commit 67f532fc99ebc262a50fa05500b3462065b75569
When generating and compiling the lambda controller delta code, i noticed few compilation errors, moslty about type mismatches between values and function parameters.
This was due to a misplacement of the arugments passed to `code.compareSlice` and `code.compareMap` functions when they are called from `code.compareStruct`. This commit corrects the order/placement of arguments passed to the `compareSlice` and `compareMap` functions
Copy link
Collaborator

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmrph, nice catch @a-hilaly!

@jaypipes jaypipes merged commit 2faac0a into aws-controllers-k8s:main Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants