summaryrefslogtreecommitdiff
path: root/pkg/logs
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-07-03 14:35:11 -0500
committerbaude <bbaude@redhat.com>2019-07-03 15:41:33 -0500
commitfec1de6ef4b3f769ba0906cda948a3215709cd37 (patch)
tree416a56f712f80f538d4b6ed5bc12ae43aaa07c4f /pkg/logs
parentf5593d305f68409cf093ea6b66a9d1f121ec0fd6 (diff)
downloadpodman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.gz
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.bz2
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.zip
trivial cleanups from golang
the results of a code cleanup performed by the goland IDE. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/logs')
-rw-r--r--pkg/logs/logs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/logs/logs.go b/pkg/logs/logs.go
index 1f0ede6f0..0f684750e 100644
--- a/pkg/logs/logs.go
+++ b/pkg/logs/logs.go
@@ -135,7 +135,7 @@ func parseCRILog(log []byte, msg *logMessage) error {
}
// Keep this forward compatible.
tags := bytes.Split(log[:idx], tagDelimiter)
- partial := (LogTag(tags[0]) == LogTagPartial)
+ partial := LogTag(tags[0]) == LogTagPartial
// Trim the tailing new line if this is a partial line.
if partial && len(log) > 0 && log[len(log)-1] == '\n' {
log = log[:len(log)-1]