-
Notifications
You must be signed in to change notification settings - Fork 9
updated aws4 version and fixed the Authentication issue #142
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
base: master
Are you sure you want to change the base?
Conversation
Aravindh-Raju
left a comment
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.
Tested it out locally. Able to perform all the actions now. LGTM!
| 'Content-Type': 'application/json' | ||
| }, | ||
| body: opts.body ? JSON.stringify(opts.body) : '' | ||
| body: JSON.stringify(opts.body) |
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.
Will we get an error when opts.body is empty as the condition is removed?
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.
Yeh . If the body is null or undefined, we will get an error.
|
|
||
| echo "Removing VinylDNS API if exists.." | ||
| if docker ps | grep -q "vinyldns-js-api"; then | ||
| if docker ps -a| grep -q "vinyldns-js-api"; then |
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.
I think the -a is added for testing? If so, we can remove them.
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.
this done purposely to pull all running docker container and stop which has the name vinyldns-js-api
Changes in this PR.
aws4versionaxiosdependency