fix: allow CopyObject/PutObjecTags on pre-existing content (#10485)

fixes #10475
This commit is contained in:
Harshavardhana
2020-09-15 09:18:41 -07:00
committed by GitHub
parent 0ee9678190
commit 730d2dc7be
2 changed files with 19 additions and 5 deletions

View File

@@ -225,7 +225,6 @@ func (m *fsMetaV1) ReadFrom(ctx context.Context, lk *lock.LockedFile) (n int64,
}
if len(fsMetaBuf) == 0 {
logger.LogIf(ctx, io.EOF)
return 0, io.EOF
}