summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-12 09:04:12 -0400
committerGitHub <noreply@github.com>2020-03-12 09:04:12 -0400
commit19f5d557bc5d9c538d7a3992abeaa9f7fbb44166 (patch)
treea8f551ef538e2f343660d737ea81d327f5a6ca50
parent78e090092b38ab52993a3eec6d9bab0eabeaa1fc (diff)
parenteb2d0a22895a7b1690145a2987de21937587c190 (diff)
downloadpodman-19f5d557bc5d9c538d7a3992abeaa9f7fbb44166.tar.gz
podman-19f5d557bc5d9c538d7a3992abeaa9f7fbb44166.tar.bz2
podman-19f5d557bc5d9c538d7a3992abeaa9f7fbb44166.zip
Merge pull request #5468 from Akasurde/5244_follow_up
Follow up change from #5244
-rw-r--r--libpod/logs/log.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/logs/log.go b/libpod/logs/log.go
index 200ef3e99..6ad2a305f 100644
--- a/libpod/logs/log.go
+++ b/libpod/logs/log.go
@@ -167,8 +167,7 @@ func (l *LogLine) String(options *LogOptions) string {
var out string
if options.Multi {
if options.UseName {
- cname := l.CName
- out = fmt.Sprintf("%s ", cname)
+ out = l.CName + " "
} else {
cid := l.CID
if len(cid) > 12 {