Merge pull request #27992 from Microsoft/jjh/minapitoinfo

Adds `MinAPIVersion` to docker version
This commit is contained in:
Victor Vieux 2016-11-08 15:49:33 -08:00 committed by GitHub
commit 086c47f5ee
1 changed files with 8 additions and 7 deletions

View File

@ -23,13 +23,14 @@ var versionTemplate = `Client:
OS/Arch: {{.Client.Os}}/{{.Client.Arch}}{{if .ServerOK}} OS/Arch: {{.Client.Os}}/{{.Client.Arch}}{{if .ServerOK}}
Server: Server:
Version: {{.Server.Version}} Version: {{.Server.Version}}
API version: {{.Server.APIVersion}} API version: {{.Server.APIVersion}}
Go version: {{.Server.GoVersion}} Minimum API version: {{.Server.MinAPIVersion}}
Git commit: {{.Server.GitCommit}} Go version: {{.Server.GoVersion}}
Built: {{.Server.BuildTime}} Git commit: {{.Server.GitCommit}}
OS/Arch: {{.Server.Os}}/{{.Server.Arch}} Built: {{.Server.BuildTime}}
Experimental: {{.Server.Experimental}}{{end}}` OS/Arch: {{.Server.Os}}/{{.Server.Arch}}
Experimental: {{.Server.Experimental}}{{end}}`
type versionOptions struct { type versionOptions struct {
format string format string