Bug 1344898 - New-line is missed for each route shown by oc get route
Summary: New-line is missed for each route shown by oc get route
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-12 09:35 UTC by Xingxing Xia
Modified: 2016-09-19 13:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-19 13:51:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1332499 0 medium CLOSED Should hide the labels for route by oc get route, and show it correctly when using option --show-labels 2021-02-22 00:41:40 UTC

Internal Links: 1332499

Description Xingxing Xia 2016-06-12 09:35:57 UTC
Description of problem:
New-line is missed for each route shown by oc get route, see below:
[xxia@pc_vm3 oc]$ oc get route
NAME       HOST/PORT                                             PATH      SERVICE        TERMINATION   LABELS
frontend   frontend-xxia-proj.router.default.svc.cluster.local             frontend:web                 app=ruby-sample-build,template=application-template-stibuildjenkins   jenkins-xxia-proj.router.default.svc.cluster.local             jenkins   edge      template=jenkins-ephemeral-templateroute-edge   www.example.com             frontend   edge      app=ruby-sample-build,template=application-template-stibuild[xxia@pc_vm3 oc]$


This also makes 'oc get all' results look ugly

Version-Release number of selected component (if applicable):
oc v1.3.0-alpha.1-251-ga19279f
kubernetes v1.3.0-alpha.1-331-g0522e63

How reproducible:
Always

Steps to Reproduce:
1. oc login, create project, create multiple routes
2. $ oc get route


Actual results:
2. After `oc get route` lists routes, for each route, each line misses new-line.

Expected results:
2. Should display an extra new-line for each route.

Additional info:
oc get <other type> doesn't have the problem.

Comment 1 Fabiano Franz 2016-06-20 14:13:14 UTC
Fixed in https://github.com/openshift/origin/pull/9405

Comment 2 Xingxing Xia 2016-06-21 02:57:32 UTC
Verified with:
oc v1.3.0-alpha.1-439-g604ae17
kubernetes v1.3.0-alpha.3-599-g2746284

Fixed. Thanks!


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