You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2015/06/12 05:33:06 UTC
jclouds git commit: send HEAD instead of GET for blobMetadata
Repository: jclouds
Updated Branches:
refs/heads/master 8859eaeb6 -> 320742c6b
send HEAD instead of GET for blobMetadata
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/320742c6
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/320742c6
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/320742c6
Branch: refs/heads/master
Commit: 320742c6b5ad8258ddf5ed621a2ad4cb556a49ba
Parents: 8859eae
Author: Ka-Hing Cheung <kh...@hxbc.us>
Authored: Thu Jun 11 16:34:51 2015 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Thu Jun 11 17:33:51 2015 -0700
----------------------------------------------------------------------
.../openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jclouds/blob/320742c6/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java
----------------------------------------------------------------------
diff --git a/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java b/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java
index a1d073a..61445fc 100644
--- a/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java
+++ b/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java
@@ -316,7 +316,7 @@ public class RegionScopedSwiftBlobStore implements BlobStore {
@Override
public BlobMetadata blobMetadata(String container, String name) {
- SwiftObject object = api.getObjectApi(regionId, container).get(name);
+ SwiftObject object = api.getObjectApi(regionId, container).getWithoutBody(name);
if (object == null) {
return null;
}