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 invalid SuggestFor for oc image #18563

Merged
merged 1 commit into from
Feb 15, 2018
Merged

Fix invalid SuggestFor for oc image #18563

merged 1 commit into from
Feb 15, 2018

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Feb 11, 2018

This patch has tiny changes as:

  • Replace oc image with oc start for the suggestion for oc run
  • Remove oc image from the suggetion for oc import-image

oc import is already existing command, so current SuggestFor: []string{"image"} is not working.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 11, 2018
@nak3 nak3 changed the title Remove suggestfor run Fix invalid SuggestFor for oc image Feb 11, 2018
@nak3
Copy link
Contributor Author

nak3 commented Feb 11, 2018

/retest

@juanvallejo
Copy link
Contributor

/lgtm

cc @soltysh

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

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

When updating the pr please squash your changes into a single commit.

@@ -480,7 +480,7 @@ func NewCmdRun(fullName string, f *clientcmd.Factory, in io.Reader, out, errout
cmd := kcmd.NewCmdRunWithOptions(f, opts, in, out, errout)
cmd.Long = runLong
cmd.Example = fmt.Sprintf(runExample, fullName)
cmd.SuggestFor = []string{"image"}
cmd.SuggestFor = []string{"start"}
Copy link
Contributor

Choose a reason for hiding this comment

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

start doesn't seem to be informative here. I'd just drop this suggestion entirely.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright, updated. I have already squashed, as this is small PR.

@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2018
@nak3
Copy link
Contributor Author

nak3 commented Feb 14, 2018

/retest

2 similar comments
@nak3
Copy link
Contributor Author

nak3 commented Feb 14, 2018

/retest

@nak3
Copy link
Contributor Author

nak3 commented Feb 15, 2018

/retest

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 15, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 15, 2018
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 0891ae6 into openshift:master Feb 15, 2018
@nak3 nak3 deleted the remove-suggestfor-run branch February 16, 2018 06:53
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