mirror of
https://github.com/apache/jclouds.git
synced 2025-02-06 10:09:35 +00:00
JCLOUDS-805: return null w/ non-existent container
This matches the behavior of other blobstores and allows deleteContainerIfEmptyWithoutContents to pass.
This commit is contained in:
parent
ea9e847f44
commit
8e9485b7bb
@ -230,6 +230,7 @@ public interface ObjectApi {
|
||||
@GET
|
||||
@Consumes(APPLICATION_JSON)
|
||||
@Path("storage/v1/b/{bucket}/o")
|
||||
@Fallback(NullOnNotFoundOr404.class)
|
||||
ListPageWithPrefixes<GoogleCloudStorageObject> listObjects(@PathParam("bucket") String bucketName);
|
||||
|
||||
/**
|
||||
@ -245,6 +246,7 @@ public interface ObjectApi {
|
||||
@GET
|
||||
@Consumes(APPLICATION_JSON)
|
||||
@Path("storage/v1/b/{bucket}/o")
|
||||
@Fallback(NullOnNotFoundOr404.class)
|
||||
ListPageWithPrefixes<GoogleCloudStorageObject> listObjects(@PathParam("bucket") String bucketName, ListObjectOptions options);
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user