Repository navigation
Conversation
|
I thought the output of |
|
I'm not sure what the solution is, but I don't think multiline output here is correct. Perhaps we cannot display all the role names in this printer |
oc get clusterPolicy is hard to readoc get clusterPolicy is hard to read
|
@fabianofranz Do you have any advice ? |
|
@openshift/cli-review |
de6be99 to
84b85ad
Compare
Would it make sense to maybe display the truncated list of roles by default, and introduce a new flag that would force the entire list to display? (We could also only display the truncated list in the human readable printer and have users use |
|
I don't think truncation is good. We have the wide flag, right? That seems as good a flag as any if we want to conditionally include a potentially massive column |
|
@liggitt @juanvallejo I use |
Exactly. Possibly include the role column when outputting in wide mode, otherwise just include something like the number of roles? |
|
Only include the roles column when in |
|
@fabianofranz @juanvallejo @liggitt , will prepare a pr for upstream, will add an |
Automatic merge from submit-queue (batch tested with PRs 39132, 39428) Move wideHeader [] strings into handlerEntry To adress this problem: openshift/origin#12354, make `-o wide` more flexible to be used by OpenShift
84b85ad to
936c43d
Compare
|
@liggitt @juanvallejo @fabianofranz I copied the upstream code to our repo by file, seems it can not pass the compiled, I also use |
|
@Kargakis oh, I got it, thanks |
oc get clusterPolicy is hard to readoc get clusterPolicy is hard to read
oc get clusterPolicy is hard to readoc get clusterPolicy is hard to read
936c43d to
dbb0e66
Compare
golint change add columnsWithWide
dbb0e66 to
94e46b8
Compare
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
…s_printer Automatic merge from submit-queue (batch tested with PRs 39132, 39428) Move wideHeader [] strings into handlerEntry To adress this problem: openshift/origin#12354, make `-o wide` more flexible to be used by OpenShift
fix problem #12303