summaryrefslogtreecommitdiff
path: root/libpod/container_log.go
diff options
context:
space:
mode:
authorjgallucci32 <jgallucci32@users.noreply.github.com>2020-06-15 07:16:12 -0700
committerjgallucci32 <john.gallucci.iv@gmail.com>2020-06-15 07:42:05 -0700
commit6d9863e7738719a100ac56c1e646c169e4c0bd11 (patch)
treef8684b7256af6aa50de61987918a949332b57b84 /libpod/container_log.go
parentd514e3c09705c64b6cbcef70216a6edea9c8515a (diff)
downloadpodman-6d9863e7738719a100ac56c1e646c169e4c0bd11.tar.gz
podman-6d9863e7738719a100ac56c1e646c169e4c0bd11.tar.bz2
podman-6d9863e7738719a100ac56c1e646c169e4c0bd11.zip
Remove redundant break in for loop.
Remove redundant `break` call in for loop. Co-authored-by: Qi Wang <qiwan@redhat.com> Signed-off-by: jgallucci32 <john.gallucci.iv@gmail.com>
Diffstat (limited to 'libpod/container_log.go')
-rw-r--r--libpod/container_log.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/container_log.go b/libpod/container_log.go
index 769f776d0..39c395fe6 100644
--- a/libpod/container_log.go
+++ b/libpod/container_log.go
@@ -88,7 +88,6 @@ func (c *Container) readFromLogFile(options *logs.LogOptions, logChannel chan *l
err := t.Stop()
if err != nil {
logrus.Error(err)
- break
}
break
}