-
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 debug panic #20550
Fix debug panic #20550
Conversation
/retest |
0f0f2bf
to
55db6b5
Compare
55db6b5
to
82db1ef
Compare
pkg/oc/cli/debug/debug.go
Outdated
|
||
// podContainerRunning returns false until the named container has ContainerStatus running (at least once), | ||
// and will return an error if the pod is deleted, runs to completion, or the container pod is not available. | ||
func podContainerRunning(containerName string) watch.ConditionFunc { |
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.
are these the same? oc/lib/conditions
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.
Thanks, moved this helper to the oc/lib/conditions
package
82db1ef
to
0e8193e
Compare
/test extended_clusterup |
/retest |
/test gcp |
|
||
// podContainerRunning returns false until the named container has ContainerStatus running (at least once), | ||
// and will return an error if the pod is deleted, runs to completion, or the container pod is not available. | ||
func podContainerRunning(containerName string) watch.ConditionFunc { |
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.
@deads2k this is a copy of the helper under oc/lib/conditions. This diagnostics file deals with internalversions, and we'll be removing diagnostics soon anyway, so I figured we could leave this copy here until then
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
/retest |
/test gcp |
2 similar comments
/test gcp |
/test gcp |
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
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juanvallejo, smarterclayton, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
Debug was creating and using kcmd.LogOptions without passing a "consumeRequest" func and a RESTClientGetter
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1612661
cc @deads2k @soltysh