JCLOUDS-650: ContainerNotFoundException on putBlob

Found with Ceph s3-tests and s3proxy.
This commit is contained in:
Andrew Gaul 2014-07-30 00:20:29 -07:00
parent 99fe40ab91
commit 32acc35804
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ public class LocalAsyncBlobStore extends BaseAsyncBlobStore {
logger.debug("Put blob with key [%s] to container [%s]", blobKey, containerName);
if (!storageStrategy.containerExists(containerName)) {
return Futures.immediateFailedFuture(new IllegalStateException("containerName not found: " + containerName));
return Futures.immediateFailedFuture(cnfe(containerName));
}
try {