openstack-nova: eliminating npe on SecurityGroupApi.delete()

This commit is contained in:
Adam Lowe 2013-01-16 16:47:42 +00:00
parent dae8e10592
commit efedb0e3a8
1 changed files with 1 additions and 1 deletions

View File

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