Update s3.go

This commit is contained in:
Seb3thehacker 2022-03-24 08:16:57 +00:00 committed by GitHub
parent 012c8a3150
commit 2af2a7e293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {