Set Atmos object size to content metadata size

This commit is contained in:
Andrew Gaul 2015-06-08 14:27:22 -07:00
parent 573ceb51c3
commit 454a30a484
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public class ObjectToBlobMetadata implements Function<AtmosObject, MutableBlobMe
lowerKeyMetadata.put(key, entry.getValue()); lowerKeyMetadata.put(key, entry.getValue());
} }
to.setUserMetadata(lowerKeyMetadata); to.setUserMetadata(lowerKeyMetadata);
to.setSize(from.getContentMetadata().getContentLength());
return to; return to;
} }
} }