Bug 1690263 - Make `oc get --watch CR` show more info like without `--watch`
Summary: Make `oc get --watch CR` show more info like without `--watch`
Keywords:
Status: CLOSED DUPLICATE of bug 1685189
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.1.0
Assignee: Mike Dame
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-19 07:52 UTC by Xingxing Xia
Modified: 2019-04-05 19:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-05 19:53:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xingxing Xia 2019-03-19 07:52:22 UTC
Description of problem:
Make `oc get --watch CR` show info like without `--watch`

Version-Release number of selected component (if applicable):
oc version --short
Client Version: v4.0.22
Server Version: v1.12.4+befe71b

How reproducible:
Always

Steps to Reproduce:
1. Check some CR:
$ oc get co
NAME                                  VERSION                             AVAILABLE   PROGRESSING   FAILING   SINCE
authentication                        4.0.0-0.nightly-2019-03-19-004004   True        False         False     150m
...

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.0.0-0.nightly-2019-03-19-004004   True        False         146m    Cluster version is 4.0.0-0.nightly-2019-03-19-004004

$ oc get apiservice
NAME                                     SERVICE                                                                  AVAILABLE   AGE
...
v1beta1.metrics.k8s.io                   openshift-monitoring/prometheus-adapter                                  True        148m
...

2. User wants to watch the CR's status (like the AVAILABLE column) by --watch:
$ oc get co -w
NAME                                  AGE
authentication                        154m
...


Actual results:
2. With --watch, only shows NAME and AGE, no other info like without --watch

Expected results:
2. Show same columns no matter with or without --watch

Additional info:

Comment 2 Mike Dame 2019-04-05 19:53:52 UTC

*** This bug has been marked as a duplicate of bug 1685189 ***


Note You need to log in before you can comment on or make changes to this bug.