summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
Diffstat (limited to 'libpod')
-rw-r--r--libpod/logs/log.go4
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 {