mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #13519 from Luap99/version-newline
fix empty newline in version output
This commit is contained in:
@ -89,9 +89,7 @@ Client:\tPodman Engine
|
|||||||
Version:\t{{.Version}}
|
Version:\t{{.Version}}
|
||||||
API Version:\t{{.APIVersion}}
|
API Version:\t{{.APIVersion}}
|
||||||
Go Version:\t{{.GoVersion}}
|
Go Version:\t{{.GoVersion}}
|
||||||
{{if .GitCommit -}}
|
{{if .GitCommit -}}Git Commit:\t{{.GitCommit}}\n{{end -}}
|
||||||
Git Commit:\t{{.GitCommit}}
|
|
||||||
{{- end}}
|
|
||||||
Built:\t{{.BuiltTime}}
|
Built:\t{{.BuiltTime}}
|
||||||
OS/Arch:\t{{.OsArch}}
|
OS/Arch:\t{{.OsArch}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
@ -102,9 +100,7 @@ Server:\tPodman Engine
|
|||||||
Version:\t{{.Version}}
|
Version:\t{{.Version}}
|
||||||
API Version:\t{{.APIVersion}}
|
API Version:\t{{.APIVersion}}
|
||||||
Go Version:\t{{.GoVersion}}
|
Go Version:\t{{.GoVersion}}
|
||||||
{{if .GitCommit -}}
|
{{if .GitCommit -}}Git Commit:\t{{.GitCommit}}\n{{end -}}
|
||||||
Git Commit:\t{{.GitCommit}}
|
|
||||||
{{- end}}
|
|
||||||
Built:\t{{.BuiltTime}}
|
Built:\t{{.BuiltTime}}
|
||||||
OS/Arch:\t{{.OsArch}}
|
OS/Arch:\t{{.OsArch}}
|
||||||
{{- end}}{{- end}}
|
{{- end}}{{- end}}
|
||||||
|
Reference in New Issue
Block a user