-
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
UPSTREAM: 58533: add suggestion to describe pod for container names #18178
UPSTREAM: 58533: add suggestion to describe pod for container names #18178
Conversation
cc33254
to
3d5e9d5
Compare
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.
The change itself lgtm, but I want to see an upstream pr first and an appropriate number in the commit message.
3d5e9d5
to
45da559
Compare
Upstream: kubernetes/kubernetes#58533 |
/test extended_conformance_install |
/retest |
1 similar comment
/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.
/approve
Feel free to self-lgtm this when the upstream gets merged.
Or at least tagged for merge. |
/hold until upstream is in queue so we can figure out what to review and what not to review |
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.
Update to match upstream and you're good to go.
@@ -312,6 +322,10 @@ func (p *AttachOptions) containerToAttachTo(pod *api.Pod) (*api.Container, error | |||
return nil, fmt.Errorf("container not found (%s)", p.ContainerName) | |||
} | |||
|
|||
if len(p.SuggestedCmdUsage) > 0 { | |||
fmt.Fprintf(p.Err, "%s\n", p.SuggestedCmdUsage) |
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.
You need to update this to match upstream.
/approve cancel |
45da559
to
23fa9ae
Compare
@deads2k |
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 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.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@juanvallejo: 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. Instructions 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. |
/test end_to_end |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1389208
Usability improvement: Suggest using
oc describe <pod>
to retrieve all pod containers to use with cmds that stream to/from pods.cc @soltysh