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

Avoid unbound variable error in CNI 1.4 RC1 #382

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

StevenACoffman
Copy link
Contributor

After upgrading to the latest release candidate, SSHing into the host machines, running as root /opt/cni/bin/aws-cni-support.sh gets the following error:

/opt/cni/bin/aws-cni-support.sh: line 35: KUBECONFIG: unbound variable

set -u will abort here so in the bracket test, see if the parameter is set and non-empty using an empty default value.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/opt/cni/bin/aws-cni-support.sh: line 35: KUBECONFIG: unbound variable
set -u will abort here so see if the parameter is set and non-empty using an empty default value.
scripts/aws-cni-support.sh Show resolved Hide resolved
@mogren mogren merged commit 53316cb into aws:master Apr 8, 2019
mogren pushed a commit to mogren/amazon-vpc-cni-k8s that referenced this pull request Apr 8, 2019
/opt/cni/bin/aws-cni-support.sh: line 35: KUBECONFIG: unbound variable
set -u will abort here so see if the parameter is set and non-empty using an empty default value.

Pull request aws#382

(cherry picked from commit a34eae1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants