mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Align output of docker version again
Signed-off-by: John Howard <jhoward@microsoft.com>
(cherry picked from commit dfeaf7a959
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
0f5d85371a
commit
7c74809fe9
2 changed files with 9 additions and 10 deletions
|
@ -25,8 +25,7 @@ var versionTemplate = `Client:
|
||||||
|
|
||||||
Server:
|
Server:
|
||||||
Version: {{.Server.Version}}
|
Version: {{.Server.Version}}
|
||||||
API version: {{.Server.APIVersion}}
|
API version: {{.Server.APIVersion}} (minimum version {{.Server.MinAPIVersion}})
|
||||||
Minimum API version: {{.Server.MinAPIVersion}}
|
|
||||||
Go version: {{.Server.GoVersion}}
|
Go version: {{.Server.GoVersion}}
|
||||||
Git commit: {{.Server.GitCommit}}
|
Git commit: {{.Server.GitCommit}}
|
||||||
Built: {{.Server.BuildTime}}
|
Built: {{.Server.BuildTime}}
|
||||||
|
|
|
@ -14,7 +14,7 @@ func (s *DockerSuite) TestVersionEnsureSucceeds(c *check.C) {
|
||||||
"Client:": 1,
|
"Client:": 1,
|
||||||
"Server:": 1,
|
"Server:": 1,
|
||||||
" Version:": 2,
|
" Version:": 2,
|
||||||
" API version:": 3,
|
" API version:": 2,
|
||||||
" Go version:": 2,
|
" Go version:": 2,
|
||||||
" Git commit:": 2,
|
" Git commit:": 2,
|
||||||
" OS/Arch:": 2,
|
" OS/Arch:": 2,
|
||||||
|
|
Loading…
Add table
Reference in a new issue