openstack-nova: eliminating NPE thrown by SecurityGroupApi.delete()

This commit is contained in:
Adam Lowe 2013-01-16 10:20:30 +00:00
parent f170c8d669
commit 055098866f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public interface SecurityGroupAsyncApi {
*/
@DELETE
@Path("/os-security-groups/{id}")
@Fallback(NullOnNotFoundOr404.class)
@Fallback(FalseOnNotFoundOr404.class)
@Consumes(MediaType.APPLICATION_JSON)
ListenableFuture<Boolean> delete(@PathParam("id") String id);