mirror of https://github.com/apache/jclouds.git
Set Atmos object size to content metadata size
This commit is contained in:
parent
573ceb51c3
commit
454a30a484
|
@ -77,6 +77,7 @@ public class ObjectToBlobMetadata implements Function<AtmosObject, MutableBlobMe
|
|||
lowerKeyMetadata.put(key, entry.getValue());
|
||||
}
|
||||
to.setUserMetadata(lowerKeyMetadata);
|
||||
to.setSize(from.getContentMetadata().getContentLength());
|
||||
return to;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue