Repository navigation
bootkube: use long flags for consistency - #2130
Conversation
bootkube.sh largely uses long form flags for shell commands, this fixes the remaining ones that do not.
|
/assign @abhinavdahiya |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, stbenjam The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/test e2e-openstack |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@stbenjam: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
| echo "Rendering Cluster Version Operator Manifests..." | ||
|
|
||
| rm -rf cvo-bootstrap | ||
| rm --recursive --force cvo-bootstrap |
There was a problem hiding this comment.
Nit: POSIX rm (and most other POSIX commands) only requires the short forms. Probably doesn't matter, since the particular rm implementation we use has non-POSIX long-forms that are unlikely to change, but it does make this script a bit less portable.
There was a problem hiding this comment.
The script already wasn’t portable because there’s other examples in here of using long flags. For example, mkdir.
Having a sysadmin background I find the whole use of these long flags on Unix commands less readable and not quickly understood (I didn’t even know -p stood for “parents”), but this was some feedback on another PR and at least the script is consistent I guess.
bootkube.sh largely uses long form flags for shell commands, this fixes
the remaining ones that do not.