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

Redirect curl errors during node object fetching to stdout #373

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

jingyuanliang
Copy link
Member

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

@jingyuanliang
Copy link
Member Author

/hold

not tested yet.

@jingyuanliang
Copy link
Member Author

/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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting trick.

Copy link
Collaborator

@MrHohn MrHohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Oct 15, 2024
Copy link
Contributor

[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:
  • OWNERS [MrHohn,jingyuanliang]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 46805c4 into GoogleCloudPlatform:master Oct 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install-cni.sh should use cacert instead of --insecure
2 participants