Reduce some tab spacing in kubectl

pull/6/head
Sam Ghods 2015-03-27 16:50:29 -07:00
parent 320df1d2ad
commit f8d8b09a0a
2 changed files with 3 additions and 3 deletions

View File

@ -238,6 +238,6 @@ func ExamplePrintReplicationController() {
fmt.Printf("Unexpected error: %v", err)
}
// Output:
// CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
// foo foo someimage foo=bar 1
// CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
// foo foo someimage foo=bar 1
}

View File

@ -550,7 +550,7 @@ func printResourceQuotaList(list *api.ResourceQuotaList, w io.Writer) error {
// PrintObj prints the obj in a human-friendly format according to the type of the obj.
func (h *HumanReadablePrinter) PrintObj(obj runtime.Object, output io.Writer) error {
w := tabwriter.NewWriter(output, 20, 5, 3, ' ', 0)
w := tabwriter.NewWriter(output, 10, 4, 3, ' ', 0)
defer w.Flush()
t := reflect.TypeOf(obj)
if handler := h.handlerMap[t]; handler != nil {