Skip to content

Commit

Permalink
Merge pull request kubernetes#6126 from ghodss/reduce-some-kubectl-sp…
Browse files Browse the repository at this point in the history
…acing

Reduce some tab spacing in kubectl
  • Loading branch information
vmarmol committed Mar 28, 2015
2 parents 179fe87 + f8d8b09 commit b9499b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/kubectl/cmd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion pkg/kubectl/resource_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b9499b8

Please sign in to comment.