From 7f411cb325986e88f1b04c2fc2a0e17a9e283ddf Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 19 Feb 2020 17:14:20 +0530 Subject: Review comments Signed-off-by: Abhijeet Kasurde --- libpod/logs/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpod/logs') 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 { -- cgit v1.2.3-54-g00ecf