> +   @Named("volume:delete")
> +   @DELETE
> +   @Path("/{volumeId}")
> +   @Fallback(Fallbacks.VoidOnNotFoundOr404.class)
> +   void deleteVolume(@PathParam("dataCenterId") String dataCenterId, 
> @PathParam("volumeId") String volumeId);
> +   
> +   @Named("volume:snapshot:create")
> +   @POST
> +   @MapBinder(CreateSnapshotRequestBinder.class)
> +   @ResponseParser(SnapshotApi.SnapshotParser.class)
> +   Snapshot createSnapshot(@PayloadParam("snapshot") 
> Volume.Request.CreateSnapshotPayload payload);
> +   
> +   @Named("volume:snapshot:restore")
> +   @POST
> +   @MapBinder(RestoreSnapshotRequestBinder.class)
> +   @Fallback(Fallbacks.VoidOnNotFoundOr404.class)

Remove fallback. Let's let the user know why the *restore* op failed 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/233/files#r52559204

Reply via email to