summaryrefslogtreecommitdiff
path: root/libpod/logs
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/logs')
-rw-r--r--libpod/logs/log.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpod/logs/log.go b/libpod/logs/log.go
index 488291cfe..0b1703567 100644
--- a/libpod/logs/log.go
+++ b/libpod/logs/log.go
@@ -156,8 +156,5 @@ func NewLogLine(line string) (*LogLine, error) {
// Partial returns a bool if the log line is a partial log type
func (l *LogLine) Partial() bool {
- if l.ParseLogType == PartialLogType {
- return true
- }
- return false
+ return l.ParseLogType == PartialLogType
}