swift, s3, dropbox: fix metadata read on Update()
This was causing changed files to be marked as corrupted on upload
This commit is contained in:
parent
2479ce2c8e
commit
282cba20a0
4 changed files with 20 additions and 1 deletions
|
@ -413,6 +413,7 @@ func (o *FsObjectSwift) Update(in io.Reader, modTime time.Time, size int64) erro
|
|||
return err
|
||||
}
|
||||
// Read the metadata from the newly created object
|
||||
o.meta = nil // wipe old metadata
|
||||
err = o.readMetaData()
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue