Adds minimum API version to version

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-11-02 10:04:39 -07:00 committed by John Howard (VM)
parent 81e6e5e36d
commit 089b33edd8
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