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

when sns subscription is pending prevent crash and show an alert #345

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

moadibfr
Copy link
Contributor

Q A
πŸ› Bug fix? yes
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #...
❓ Documentation no

Description

SNS Topic subscription can be pending confirmation and they have an invalid arn in this case.
this pr handle this case without crashing. instead it will produce an alert to inform user that drift for this subs will be ignored

@moadibfr moadibfr requested a review from a team as a code owner March 17, 2021 13:36
@codecov
Copy link

codecov bot commented Mar 17, 2021

Codecov Report

Merging #345 (53103f6) into main (3984d55) will decrease coverage by 0.02%.
The diff coverage is 53.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #345      +/-   ##
==========================================
- Coverage   69.21%   69.19%   -0.03%     
==========================================
  Files         280      280              
  Lines        5955     5966      +11     
==========================================
+ Hits         4122     4128       +6     
- Misses       1476     1481       +5     
  Partials      357      357              
Impacted Files Coverage Ξ”
pkg/remote/aws/init.go 0.00% <0.00%> (ΓΈ)
...eserializer/sns_topic_subscription_deserializer.go 83.33% <ΓΈ> (ΓΈ)
pkg/remote/aws/sns_topic_subscription_supplier.go 60.52% <58.33%> (-2.44%) ⬇️

@eliecharra eliecharra added the kind/bug Something isn't working label Mar 17, 2021
@eliecharra eliecharra added this to the v0.7.0 milestone Mar 17, 2021
@moadibfr moadibfr force-pushed the fix/sns_sub_pending branch 2 times, most recently from 128a89b to 1201b47 Compare March 17, 2021 13:51
wbeuil
wbeuil previously approved these changes Mar 17, 2021
eliecharra
eliecharra previously approved these changes Mar 17, 2021
@eliecharra eliecharra merged commit c24ce3c into main Mar 17, 2021
@eliecharra eliecharra deleted the fix/sns_sub_pending branch March 17, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants