Skip to content

Commit

Permalink
OCM-6140: make name width to be 54 chars to fix truncation issue in c…
Browse files Browse the repository at this point in the history
…ase of longer name > 28 chars
  • Loading branch information
machi1990 committed Mar 8, 2024
1 parent 039a098 commit 03500fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/output/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ var _ = Describe("Table", func() {
// Check the generated text:
lines := strings.Split(buffer.String(), "\n")
Expect(lines).To(HaveLen(3))
Expect(lines[0]).To(Equal(`ID NAME `))
Expect(lines[1]).To(Equal(`123 mycluster `))
Expect(lines[0]).To(Equal(`ID NAME `))
Expect(lines[1]).To(Equal(`123 mycluster `))
})

It("Honours learning limit", func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/output/tables/clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ columns:
width: 32
- name: name
header: NAME
width: 28
width: 54
- name: api.url
header: API URL
width: 58
Expand Down

0 comments on commit 03500fe

Please sign in to comment.