From 429a0d00afd486b4e825ae9822f6244720700614 Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Tue, 26 Jul 2016 23:20:35 +0200 Subject: [PATCH] mc removes incomplete downloads .part.minio when rm is invoked with --incomplete flag (#1769) --- client-fs.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/client-fs.go b/client-fs.go index 6b64713c..df95ec9f 100644 --- a/client-fs.go +++ b/client-fs.go @@ -368,9 +368,6 @@ func (f *fsClient) Get() (io.Reader, *probe.Error) { // Remove - remove the path. func (f *fsClient) Remove(incomplete bool) *probe.Error { - if incomplete { - return nil - } e := os.Remove(f.PathURL.Path) err := f.toClientError(e, f.PathURL.Path) return err.Trace(f.PathURL.Path)