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

clusters.sh: handle empty k8s_version #580

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

skitt
Copy link
Member

@skitt skitt commented Jun 9, 2021

If the Kubernetes version flag is specified in the arguments, but with
an empty value, shflags doesn't set the default for us. We need to
handle this case explicitly before looking up the value in the
associative array.

Fixes: #578
Signed-off-by: Stephen Kitt skitt@redhat.com

If the Kubernetes version flag is specified in the arguments, but with
an empty value, shflags doesn't set the default for us. We need to
handle this case explicitly before looking up the value in the
associative array.

Fixes: submariner-io#578
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Copy link
Member

@dfarrell07 dfarrell07 left a comment

Choose a reason for hiding this comment

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

Awesome, thank you @skitt!

@dfarrell07 dfarrell07 merged commit fe0ac72 into submariner-io:devel Jun 9, 2021
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.

K8s version breaks when none passed through GHA
3 participants