Merge pull request #6635 from rhatdan/logs

Add <return> to lines returned in podman-remote logs
This commit is contained in:
OpenShift Merge Robot 2020-06-17 01:14:00 +02:00 committed by GitHub
commit e4e10dfc3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -370,7 +370,7 @@ func (ic *ContainerEngine) ContainerLogs(_ context.Context, nameOrIDs []string,
case <-ctx.Done():
return err
case line := <-outCh:
_, _ = io.WriteString(options.Writer, line)
_, _ = io.WriteString(options.Writer, line+"\n")
}
}
}