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(routetable): fix panic on sorting both v4 and v6 routes #1279

Merged

Conversation

jessesuen
Copy link
Contributor

This is just a rebase + conflict resolution of PR #893 which appears to be abandoned. Credit for this fix should go to @vaspahomov.

Signed-off-by: vaspahomov vas2142553@gmail.com
Signed-off-by: Jesse Suen jessesuen@gmail.com

Description of your changes

Fixes #795

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I was encountering the panic in #795 when creating route tables in a VPC with ipv6 enabled. The panic causes the provider-aws controller to crashloop and will not recover. With this fix, the panic no longer happens.

Signed-off-by: vaspahomov <vas2142553@gmail.com>
Signed-off-by: Jesse Suen <jessesuen@gmail.com>
Copy link
Member

@haarchri haarchri left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for taking care

@haarchri haarchri merged commit 5985914 into crossplane-contrib:master May 6, 2022
@jessesuen jessesuen deleted the feature/route-table-panic-fix branch May 6, 2022 06:01
febarbosa182 pushed a commit to febarbosa182/provider-aws that referenced this pull request May 23, 2022
…ntrib#1279)

Signed-off-by: vaspahomov <vas2142553@gmail.com>
Signed-off-by: Jesse Suen <jessesuen@gmail.com>

Co-authored-by: vaspahomov <vas2142553@gmail.com>
Signed-off-by: Felipe Barbosa <lybrbarbosa@gmail.com>
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.

panic when importing existing AWS route table or creating a new one
3 participants