Shubhendu Tripathi has posted comments on this change.
Change subject: restapi: Run activate if remove bricks task is FINISHED
......................................................................
Patch Set 2:
(1 comment)
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResource.java
Line 294: && volume.getAsyncTask().getStatus() ==
JobExecutionStatus.FINISHED) {
Line 295: return stopMigrate(action);
Line 296: } else {
Line 297: Fault fault = new Fault();
Line 298: fault.setReason(localize(Messages.INVALID_ENUM_DETAIL));
Will introduce a new reason and use the same here
Line 299: throw new
WebApplicationException(Response.status(Response.Status.BAD_REQUEST)
Line 300: .entity(fault)
Line 301: .build());
Line 302: }
--
To view, visit http://gerrit.ovirt.org/21292
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd5731b43132943a808bccae68fbcf0efaeeef89
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches