Update debug#20257
Conversation
|
/retest |
|
last commit is fine, the rest was already tagged. /lgtm |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
dac2b1d to
209fb5b
Compare
pkg/oc/cli/cmd/debug.go
Outdated
| if (o.PrintFlags.OutputFormat != nil && len(*o.PrintFlags.OutputFormat) > 0) || | ||
| (o.PrintFlags.TemplatePrinterFlags != nil && o.PrintFlags.TemplatePrinterFlags.TemplateArgument != nil) { | ||
| (o.PrintFlags.TemplatePrinterFlags != nil && o.PrintFlags.TemplatePrinterFlags.TemplateArgument != nil && | ||
| len(*o.PrintFlags.TemplatePrinterFlags.TemplateArgument) > 0) { |
There was a problem hiding this comment.
@deads2k Updated this to also take into account when a template arg has been specified. Was making debug.sh fail
There was a problem hiding this comment.
@deads2k Updated this to also take into account when a template arg has been specified. Was making debug.sh fail
break these apart into bool assignments so I can read them here without the nesting.
260e610 to
882d059
Compare
|
/test cmd |
| // TODO: below should be turned into a method on PrintFlags | ||
| if (o.PrintFlags.OutputFormat != nil && len(*o.PrintFlags.OutputFormat) > 0) || | ||
| (o.PrintFlags.TemplatePrinterFlags != nil && o.PrintFlags.TemplatePrinterFlags.TemplateArgument != nil) { | ||
| if outputFormatSpecified || templateArgSpecified { |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, juanvallejo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test cross |
|
/test verify |
882d059 to
629a383
Compare
|
New changes are detected. LGTM label has been removed. |
|
@deads2k had to rebase to get completions updated / test verify passing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
/assign deads2k
Pick of #20215 on latest master.