summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-01 11:12:58 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-02 09:15:58 +0200
commitd172c987144a2140da608e81b2595a84bef4c163 (patch)
treeeeb0f94326b3f0e36a0b173baaf4ec4e46b12dac
parent41fc891173382c126ed1f902f46f2cac46fff924 (diff)
downloadpodman-d172c987144a2140da608e81b2595a84bef4c163.tar.gz
podman-d172c987144a2140da608e81b2595a84bef4c163.tar.bz2
podman-d172c987144a2140da608e81b2595a84bef4c163.zip
utils: delete dead code
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--utils/utils.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go
index 3c8c0a9b0..cf58ca3fb 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -65,7 +65,6 @@ func CopyDetachable(dst io.Writer, src io.Reader, keys []byte) (written int64, e
break
}
if i == len(keys)-1 {
- // src.Close()
return 0, ErrDetach
}
nr, er = src.Read(buf)