diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-12 09:04:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 09:04:12 -0400 |
commit | 19f5d557bc5d9c538d7a3992abeaa9f7fbb44166 (patch) | |
tree | a8f551ef538e2f343660d737ea81d327f5a6ca50 | |
parent | 78e090092b38ab52993a3eec6d9bab0eabeaa1fc (diff) | |
parent | eb2d0a22895a7b1690145a2987de21937587c190 (diff) | |
download | podman-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.go | 3 |
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 { |