diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2020-02-19 17:14:20 +0530 |
---|---|---|
committer | Abhijeet Kasurde <akasurde@redhat.com> | 2020-02-19 17:14:20 +0530 |
commit | 7f411cb325986e88f1b04c2fc2a0e17a9e283ddf (patch) | |
tree | 997286c76812ee9760bb052b54cc4a134d7f0338 /libpod/logs/log.go | |
parent | 88a8d9e3fa19cf16b19716cb03fa457d98056010 (diff) | |
download | podman-7f411cb325986e88f1b04c2fc2a0e17a9e283ddf.tar.gz podman-7f411cb325986e88f1b04c2fc2a0e17a9e283ddf.tar.bz2 podman-7f411cb325986e88f1b04c2fc2a0e17a9e283ddf.zip |
Review comments
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'libpod/logs/log.go')
-rw-r--r-- | libpod/logs/log.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/logs/log.go b/libpod/logs/log.go index 180b3f14b..c2ce1e426 100644 --- a/libpod/logs/log.go +++ b/libpod/logs/log.go @@ -35,7 +35,7 @@ type LogOptions struct { Timestamps bool Multi bool WaitGroup *sync.WaitGroup - UseNames bool + UseName bool } // LogLine describes the information for each line of a log @@ -122,7 +122,7 @@ func getTailLog(path string, tail int) ([]*LogLine, error) { func (l *LogLine) String(options *LogOptions) string { var out string if options.Multi { - if options.UseNames { + if options.UseName { cname := l.CName out = fmt.Sprintf("%s ", cname) } else { |