Shubhendu Tripathi has uploaded a new change for review.

Change subject: gluster: Corrected the skippedFile count setting
......................................................................

gluster: Corrected the skippedFile count setting

By mistake the skipped file count value was being assigned into
filesFailed field only and so was causing an issue.

Change-Id: Idc097b1dab5d948f67f2e08c7f590fddf89e55a2
Bug-Url: https://bugzilla.redhat.com/1020779
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeTaskReturnForXmlRpc.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/56/20356/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeTaskReturnForXmlRpc.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeTaskReturnForXmlRpc.java
index 6c9e1b0..57f1a28 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeTaskReturnForXmlRpc.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeTaskReturnForXmlRpc.java
@@ -55,7 +55,7 @@
         detail.setFilesScanned(map.containsKey(FILES_SCANNED) ? 
Long.valueOf(map.get(FILES_SCANNED).toString()) : 0);
         detail.setFilesMoved(map.containsKey(FILES_MOVED) ? 
Long.valueOf(map.get(FILES_MOVED).toString()) : 0);
         detail.setFilesFailed(map.containsKey(FILES_FAILED) ? 
Long.valueOf(map.get(FILES_FAILED).toString()) : 0);
-        detail.setFilesFailed(map.containsKey(FILES_SKIPPED) ? 
Long.valueOf(map.get(FILES_SKIPPED).toString()) : 0);
+        detail.setFilesSkipped(map.containsKey(FILES_SKIPPED) ? 
Long.valueOf(map.get(FILES_SKIPPED).toString()) : 0);
         detail.setTotalSizeMoved(map.containsKey(TOTAL_SIZE_MOVED) ? 
Long.valueOf(map.get(TOTAL_SIZE_MOVED).toString())
                 : 0);
         detail.setStatus(map.containsKey(STATUS) ? 
GlusterAsyncTaskStatus.from(map.get(STATUS).toString())


-- 
To view, visit http://gerrit.ovirt.org/20356
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc097b1dab5d948f67f2e08c7f590fddf89e55a2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to