Merge pull request #8575 from afbjorklund/podman-dev

Support prerelease versions of podman binary
pull/8576/head
Medya Ghazizadeh 2020-06-26 12:49:50 -07:00 committed by GitHub
commit e8cebe0330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func status() registry.State {
cmd.Env = append(os.Environ(), "LANG=C", "LC_ALL=C") // sudo is localized
}
o, err := cmd.Output()
output := string(o)
output := strings.TrimSpace(string(o))
if err == nil {
glog.Infof("podman version: %s", output)