From 2af2a7e2931c13db9367f35bc085da3b77d3ec86 Mon Sep 17 00:00:00 2001 From: Seb3thehacker <88462253+Seb3thehacker@users.noreply.github.com> Date: Thu, 24 Mar 2022 08:16:57 +0000 Subject: [PATCH] Update s3.go --- backends/s3/s3.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backends/s3/s3.go b/backends/s3/s3.go index 17f6725..b48837f 100644 --- a/backends/s3/s3.go +++ b/backends/s3/s3.go @@ -167,11 +167,6 @@ func (b S3Backend) Unlock(filename string) (err error) { return } -func (b S3Backend) CheckLock(filename string) (locked bool, err error) { - log.Printf("Locking is not supported on S3") - return -} - func (b S3Backend) Put(key string, r io.Reader, expiry time.Time, deleteKey, accessKey string, srcIp string) (m backends.Metadata, err error) { tmpDst, err := ioutil.TempFile("", "linx-server-upload") if err != nil {