mirror of https://github.com/apache/jclouds.git
JCLOUDS-650: ContainerNotFoundException on putBlob
Found with Ceph s3-tests and s3proxy.
This commit is contained in:
parent
99fe40ab91
commit
32acc35804
|
@ -388,7 +388,7 @@ public class LocalAsyncBlobStore extends BaseAsyncBlobStore {
|
||||||
|
|
||||||
logger.debug("Put blob with key [%s] to container [%s]", blobKey, containerName);
|
logger.debug("Put blob with key [%s] to container [%s]", blobKey, containerName);
|
||||||
if (!storageStrategy.containerExists(containerName)) {
|
if (!storageStrategy.containerExists(containerName)) {
|
||||||
return Futures.immediateFailedFuture(new IllegalStateException("containerName not found: " + containerName));
|
return Futures.immediateFailedFuture(cnfe(containerName));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue