Skip to content

Commit

Permalink
Increase field size in subctl show connections/endpoints cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Friedman <[email protected]>
  • Loading branch information
maayanf24 authored and tpantelis committed Aug 19, 2020
1 parent 0019750 commit 763cab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/subctl/cmd/show_connections.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func printConnections(connections []connectionStatus) {
return
}

template := "%-20s%-16s%-16s%-24s%-40s%-16s\n"
template := "%-32.31s%-24.23s%-16s%-20s%-40s%-16s\n"
fmt.Printf(template, "GATEWAY", "CLUSTER", "REMOTE IP", "CABLE DRIVER", "SUBNETS", "STATUS")

for _, item := range connections {
Expand Down
2 changes: 1 addition & 1 deletion pkg/subctl/cmd/show_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func printEndpoints(endpoints []endpointStatus) {
return
}

template := "%-16s%-16s%-20s%-20s%-16s\n"
template := "%-20s%-16s%-16s%-20s%-16s\n"

fmt.Printf(template, "CLUSTER ID", "ENDPOINT IP", "PUBLIC IP", "CABLE DRIVER", "TYPE")

Expand Down

0 comments on commit 763cab2

Please sign in to comment.