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

fix: Correct the format for start-args #57

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

sayboras
Copy link
Contributor

@sayboras sayboras commented Jan 16, 2023

Description

The input args is expecting split key value pair, instead of whole ' ' format, hence we should split start-args accordingly.

Without this change, we will face the below example error:

/usr/bin/chmod +x /home/runner/work/_temp/9526b1b6-7755-4e7d-abee-6ab1a86fd52e
/home/runner/bin/minikube version --short
v1.28.0
/home/runner/bin/minikube start --cni false --network-plugin cni --wait false --nodes 3
Error: unknown flag: --nodes 3

Signed-off-by: Tam Mach [email protected]

Testing

Testing was done by using forked repo in cilium/cilium#23099

The input args is expecting split key value pair, instead of whole
'<key> <value>' format, hence we should split start-args accordingly.

Without this change, we will face the below example error:

```
/usr/bin/chmod +x /home/runner/work/_temp/9526b1b6-7755-4e7d-abee-6ab1a86fd52e
/home/runner/bin/minikube version --short
v1.28.0
/home/runner/bin/minikube start --cni false --network-plugin cni --wait false --nodes 3
Error: unknown flag: --nodes 3
```

Signed-off-by: Tam Mach <[email protected]>
@sayboras sayboras marked this pull request as ready for review January 16, 2023 01:54
@sayboras
Copy link
Contributor Author

@medyagh @spowelljr for your input and review, thanks.

Copy link
Collaborator

@spowelljr spowelljr left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@spowelljr spowelljr merged commit ab221de into medyagh:master Jan 17, 2023
@sayboras sayboras deleted the tam/fix-start-args branch January 17, 2023 10:30
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