-
Notifications
You must be signed in to change notification settings - Fork 42
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
Redirect curl errors during node object fetching to stdout #373
Conversation
/hold not tested yet. |
/hold cancel Tested now. |
It appears some "expected errors" still pop up causing user confusion, so do the redirection, restore -m as some further safeguard, and since we're touching this line, fix GoogleCloudPlatform#93 along the way.
@@ -103,6 +103,7 @@ if [[ -z "${cni_spec}" ]]; then | |||
success | |||
fi | |||
|
|||
exec {stdout_dup}>&1 |
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.
Interesting trick.
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jingyuanliang, MrHohn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
46805c4
into
GoogleCloudPlatform:master
It appears some "expected errors" still pop up causing user confusion, so do the redirection, restore -m as some further safeguard, and since we're touching this line, fix #93 along the way.
/assign @MrHohn
/cc @anfernee