From efedb0e3a8d046d26ee8985ccca2c96af3156c6e Mon Sep 17 00:00:00 2001 From: Adam Lowe Date: Wed, 16 Jan 2013 16:47:42 +0000 Subject: [PATCH] openstack-nova: eliminating npe on SecurityGroupApi.delete() --- .../openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java index 600bbfed3f..4b34e0065d 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java @@ -102,7 +102,7 @@ public interface SecurityGroupAsyncApi { */ @DELETE @Path("/os-security-groups/{id}") - @ExceptionParser(ReturnNullOnNotFoundOr404.class) + @ExceptionParser(ReturnFalseOnNotFoundOr404.class) @Consumes(MediaType.APPLICATION_JSON) ListenableFuture delete(@PathParam("id") String id);