diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-21 13:44:09 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-22 13:04:34 +0100 |
commit | bb6b69b4abe86601a8438a6708263174879b5c51 (patch) | |
tree | 35a34e879c7129ceaac8bac80bdbe7fa9faea631 /libpod | |
parent | 070e401499c12d4bdc6e39eaa2498aeda9e96c82 (diff) | |
download | podman-bb6b69b4abe86601a8438a6708263174879b5c51.tar.gz podman-bb6b69b4abe86601a8438a6708263174879b5c51.tar.bz2 podman-bb6b69b4abe86601a8438a6708263174879b5c51.zip |
linter: enable wastedassign
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/oci_conmon_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go index 0e8aed93a..66123dbf4 100644 --- a/libpod/oci_conmon_linux.go +++ b/libpod/oci_conmon_linux.go @@ -1596,7 +1596,7 @@ func readConmonPipeData(runtimeName string, pipe *os.File, ociLog string) (int, ch <- syncStruct{si: si} }() - data := -1 + data := -1 //nolint: wastedassign select { case ss := <-ch: if ss.err != nil { |