Skip to content

Fix NameFromCommandArgs when passing command after -- #20730

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
soltysh:fix_create
Aug 23, 2018
Merged

Fix NameFromCommandArgs when passing command after -- #20730
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
soltysh:fix_create

Conversation

@soltysh
Copy link
Contributor

@soltysh soltysh commented Aug 22, 2018

Fix following invocation:
oc create deploymentconfig name --image=myimage -- myargs

/assign @juanvallejo @mfojtik

Fixes #20728.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 22, 2018
@juanvallejo
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2018
@soltysh
Copy link
Contributor Author

soltysh commented Aug 22, 2018

/retest

1 similar comment
@soltysh
Copy link
Contributor Author

soltysh commented Aug 22, 2018

/retest

@soltysh
Copy link
Contributor Author

soltysh commented Aug 23, 2018

Upstream merged, tagging accordingly.

@soltysh soltysh added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 23, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: juanvallejo, soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

# validate --dry-run outputs correct success message
os::cmd::expect_success_and_text 'oc create quota quota --dry-run' 'resourcequota/quota created \(dry run\)'
# validate -- works in create
os::cmd::expect_success_and_text 'oc create deploymentconfig sleep --image=busybox -- /bin/sleep infinity' 'deploymentconfig.apps.openshift.io/sleep created'
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@openshift-merge-robot openshift-merge-robot merged commit cd7d048 into openshift:master Aug 23, 2018
@soltysh soltysh deleted the fix_create branch August 24, 2018 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants