-
Notifications
You must be signed in to change notification settings - Fork 67
Updating kubemci list to use kubectl tab writer printer #114
Updating kubemci list to use kubectl tab writer printer #114
Conversation
Changes Unknown when pulling 15612af on nikhiljindal:printList into ** on GoogleCloudPlatform:master**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
LoadBalancerName: "lb", | ||
}, | ||
}, | ||
"NAME IP CLUSTERS\nlb \n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this be easier to encode with "\t" instead of literal tabs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I wonder the same. It might be more readable to use \t
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spacing is not the same in every case and its not always "\t". Depends on the length of value. It gets confusing with lots of /t's and spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit. LGTM otherwise.
LoadBalancerName: "lb", | ||
}, | ||
}, | ||
"NAME IP CLUSTERS\nlb \n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I wonder the same. It might be more readable to use \t
Fixes #106
Updating
formatLoadBalancersList
to use kubectl's tab writer printer.cc @G-Harmon @csbell @madhusudancs