-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix invalid SuggestFor for oc image #18563
Conversation
/retest |
/lgtm cc @soltysh |
There was a problem hiding this 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.
pkg/oc/cli/cmd/wrappers.go
Outdated
@@ -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"} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
/retest |
2 similar comments
/retest |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
/test all [submit-queue is verifying that this PR is safe to merge] |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue. |
This patch has tiny changes as:
oc image
withoc start
for the suggestion foroc run
oc image
from the suggetion foroc import-image
oc import
is already existing command, so currentSuggestFor: []string{"image"}
is not working.