Ramesh N has posted comments on this change.
Change subject: gluster: fill task parameters in async task status query
......................................................................
Patch Set 2:
(1 comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterAsyncTaskStatusQueryBase.java
Line 110: private void updateLatestStatus(GlusterVolumeTaskStatusEntity
status) {
Line 111: GlusterAsyncTask asyncTask = volume.getAsyncTask();
Line 112: GlusterTaskParameters taskParameters = new
GlusterTaskParameters();
Line 113: taskParameters.setVolumeName(volume.getName());
Line 114: asyncTask.setTaskParameters(taskParameters);
GlusterTaskParameters has two things, volumeName and bricks list. But filling
volumeName itself is enough to update the task status.
Line 115:
Line 116: if (asyncTask != null && asyncTask.getTaskId() != null) {
Line 117: List<Step> stepsList =
getStepDao().getStepsByExternalId(asyncTask.getTaskId());
Line 118:
--
To view, visit http://gerrit.ovirt.org/22083
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I3cf2f7cc9f633d99a673879a0876919ead5fb843
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Ramesh N <[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