-
Notifications
You must be signed in to change notification settings - Fork 39
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/373 Replace ARN format validation procedure #374
fix/373 Replace ARN format validation procedure #374
Conversation
315ba1e
to
f992c0a
Compare
return errors.Errorf("validation failed, 'notificationArn' must be a valid IAM role ARN") | ||
} | ||
if !common.StringEmpty(h.RoleArn) && !strings.HasPrefix(h.NotificationArn, awsprovider.ARNPrefix) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also delete the const awsprovider.ARNPrefix
since it's not used any longer
Thanks @srosenberg-apptio |
Codecov Report
@@ Coverage Diff @@
## master #374 +/- ##
==========================================
- Coverage 51.43% 51.41% -0.03%
==========================================
Files 33 33
Lines 4555 4553 -2
==========================================
- Hits 2343 2341 -2
Misses 2065 2065
Partials 147 147
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I will apply that fix, and I believe there is another issue I found downstream that I will tackle. |
@eytan-avisror |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, you might need to rebase/sign your commits so DCO passes
6271d8f
to
63ad5ef
Compare
Signed-off-by: Shaunn Rosenberg <shaunnrosenberg@gmail.com> Signed-off-by: Shaunn Rosenberg <srosenberg@apptio.com>
63ad5ef
to
4ab98e3
Compare
DCO is passing. |
Fixes #373
Feedback is welcome.