-
Notifications
You must be signed in to change notification settings - Fork 1k
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 API Gateway stage not being set correctly #475
Conversation
27a2a11
to
38d435c
Compare
Codecov Report
@@ Coverage Diff @@
## master #475 +/- ##
==========================================
- Coverage 94.01% 93.98% -0.04%
==========================================
Files 18 18
Lines 2940 2941 +1
Branches 380 380
==========================================
Hits 2764 2764
Misses 129 129
- Partials 47 48 +1
Continue to review full report at Codecov.
|
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.
Don't forget to add a changelog entry. Otherwise looks good.
The API Gateway stage is not set correctly since it was renamed from dev to api. This change enforces the 'api' default all the way through the config layer and CLI layer rather than making the end code that consumes the configuration manually enforce a default everywhere the api gateway stage name is used. fixes aws#470
38d435c
to
ccce980
Compare
Fix API Gateway stage not being set correctly
Just ran into this problem. Any idea when the fix will get pushed to a new PyPi release? |
Version 1.0.1, which includes this fix, was just released on pypi. |
I'm using 1.0.1 and within config.json, |
@johntmyers Thanks for reporting, I've created an issue to track this here: #495 |
The API Gateway stage is not set correctly since it was renamed from dev
to api. This change enforces the 'api' default all the way through the
config layer and CLI layer rather than making the end code that consumes
the configuration manually enforce a default everywhere the api gateway
stage name is used.
fixes #470
@achautha Thanks for the contribution. I added a few more tests and more strict defaults in the Config object itself.
closes #474