mirror of https://github.com/apache/jclouds.git
blobstore regression on rackspace
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2736 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
24f1836f7a
commit
01ad08dfc2
|
@ -47,7 +47,8 @@ public class ObjectToBlob implements Function<CFObject, Blob> {
|
|||
Blob blob = blobFactory.create(object2BlobMd.apply(from.getInfo()));
|
||||
if (from.getContentLength() != null)
|
||||
blob.setContentLength(from.getContentLength());
|
||||
blob.setPayload(from.getPayload());
|
||||
if (from.getPayload() != null)
|
||||
blob.setPayload(from.getPayload());
|
||||
blob.setAllHeaders(from.getAllHeaders());
|
||||
return blob;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue