diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-04 13:51:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 13:51:27 +0200 |
commit | 1fe2965e4f672674f7b66648e9973a0ed5434bb4 (patch) | |
tree | 8d5385f5939ff3c139dc2e15b112ce4ad9797b1a /pkg/logs/logs.go | |
parent | 1de81bc71704f4a317756c866695740fb6f65a9b (diff) | |
parent | fec1de6ef4b3f769ba0906cda948a3215709cd37 (diff) | |
download | podman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.tar.gz podman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.tar.bz2 podman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.zip |
Merge pull request #3495 from baude/golandcodecleanup
trivial cleanups from golang
Diffstat (limited to 'pkg/logs/logs.go')
-rw-r--r-- | pkg/logs/logs.go | 2 |
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] |