mirror of https://github.com/apache/jclouds.git
openstack-nova: eliminating NPE thrown by SecurityGroupApi.delete()
This commit is contained in:
parent
f170c8d669
commit
055098866f
|
@ -102,7 +102,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
*/
|
*/
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("/os-security-groups/{id}")
|
@Path("/os-security-groups/{id}")
|
||||||
@Fallback(NullOnNotFoundOr404.class)
|
@Fallback(FalseOnNotFoundOr404.class)
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
ListenableFuture<Boolean> delete(@PathParam("id") String id);
|
ListenableFuture<Boolean> delete(@PathParam("id") String id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue