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 aa174a5d73
commit 20bc145284
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 {