mirror of https://github.com/docker/cli.git
Adapt min-column width to component information
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
55ff66d967
commit
0f7ae34ea9
|
@ -1,42 +1,42 @@
|
||||||
Client:
|
Client:
|
||||||
Version: 18.99.5-ce
|
Version: 18.99.5-ce
|
||||||
API version: 1.38
|
API version: 1.38
|
||||||
Go version: go1.10.2
|
Go version: go1.10.2
|
||||||
Git commit: deadbeef
|
Git commit: deadbeef
|
||||||
Built: Wed May 30 22:21:05 2018
|
Built: Wed May 30 22:21:05 2018
|
||||||
OS/Arch: linux/amd64
|
OS/Arch: linux/amd64
|
||||||
Experimental: true
|
Experimental: true
|
||||||
|
|
||||||
Server: Docker Enterprise Edition (EE) 2.0
|
Server: Docker Enterprise Edition (EE) 2.0
|
||||||
Engine:
|
Engine:
|
||||||
Version: 17.06.2-ee-15
|
Version: 17.06.2-ee-15
|
||||||
API version: 1.30 (minimum version 1.12)
|
API version: 1.30 (minimum version 1.12)
|
||||||
Go version: go1.8.7
|
Go version: go1.8.7
|
||||||
Git commit: 64ddfa6
|
Git commit: 64ddfa6
|
||||||
Built: Mon Jul 9 23:38:38 2018
|
Built: Mon Jul 9 23:38:38 2018
|
||||||
OS/Arch: linux/amd64
|
OS/Arch: linux/amd64
|
||||||
Experimental: false
|
Experimental: false
|
||||||
Universal Control Plane:
|
Universal Control Plane:
|
||||||
Version: 17.06.2-ee-15
|
Version: 17.06.2-ee-15
|
||||||
ApiVersion: 1.30
|
ApiVersion: 1.30
|
||||||
Arch: amd64
|
Arch: amd64
|
||||||
BuildTime: Mon Jul 2 21:24:07 UTC 2018
|
BuildTime: Mon Jul 2 21:24:07 UTC 2018
|
||||||
GitCommit: 4513922
|
GitCommit: 4513922
|
||||||
GoVersion: go1.9.4
|
GoVersion: go1.9.4
|
||||||
MinApiVersion: 1.20
|
MinApiVersion: 1.20
|
||||||
Os: linux
|
Os: linux
|
||||||
Version: 3.0.3-tp2
|
Version: 3.0.3-tp2
|
||||||
Kubernetes:
|
Kubernetes:
|
||||||
Version: 1.8+
|
Version: 1.8+
|
||||||
buildDate: 2018-04-26T16:51:21Z
|
buildDate: 2018-04-26T16:51:21Z
|
||||||
compiler: gc
|
compiler: gc
|
||||||
gitCommit: 8d637aedf46b9c21dde723e29c645b9f27106fa5
|
gitCommit: 8d637aedf46b9c21dde723e29c645b9f27106fa5
|
||||||
gitTreeState: clean
|
gitTreeState: clean
|
||||||
gitVersion: v1.8.11-docker-8d637ae
|
gitVersion: v1.8.11-docker-8d637ae
|
||||||
goVersion: go1.8.3
|
goVersion: go1.8.3
|
||||||
major: 1
|
major: 1
|
||||||
minor: 8+
|
minor: 8+
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
Calico:
|
Calico:
|
||||||
Version: v3.0.8
|
Version: v3.0.8
|
||||||
cni: v2.0.6
|
cni: v2.0.6
|
||||||
|
|
|
@ -204,7 +204,7 @@ func runVersion(dockerCli command.Cli, opts *versionOptions) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
|
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
|
||||||
t := tabwriter.NewWriter(dockerCli.Out(), 15, 1, 1, ' ', 0)
|
t := tabwriter.NewWriter(dockerCli.Out(), 20, 1, 1, ' ', 0)
|
||||||
err := tmpl.Execute(t, vd)
|
err := tmpl.Execute(t, vd)
|
||||||
t.Write([]byte("\n"))
|
t.Write([]byte("\n"))
|
||||||
t.Flush()
|
t.Flush()
|
||||||
|
|
Loading…
Reference in New Issue