summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.core
diff options
context:
space:
mode:
authorSelvasundaram <selvam@gluster.com>2011-07-11 19:20:36 +0530
committerSelvasundaram <selvam@gluster.com>2011-07-11 19:20:36 +0530
commitd20c501af4dcb8d7d02247e1f12e9645102ee6ca (patch)
tree015ff2b33de8af0c1daff1bc9a17d63c98dbecd2 /src/com.gluster.storage.management.core
parentd0280748890bb6aef032032f8aa6d38d6ce14b04 (diff)
Format disk task status update bug fixes
[Bug 3150] New: Brick list is not getting updated after migrate operation - fix
Diffstat (limited to 'src/com.gluster.storage.management.core')
-rw-r--r--src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/model/InitDiskStatusResponse.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/model/InitDiskStatusResponse.java b/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/model/InitDiskStatusResponse.java
index 6d1e83e3..f09dfc88 100644
--- a/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/model/InitDiskStatusResponse.java
+++ b/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/model/InitDiskStatusResponse.java
@@ -22,7 +22,7 @@ package com.gluster.storage.management.core.model;
import javax.xml.bind.annotation.XmlRootElement;
-@XmlRootElement
+@XmlRootElement(name="response")
public class InitDiskStatusResponse {
public enum FORMAT_STATUS {
@@ -35,7 +35,7 @@ public class InitDiskStatusResponse {
private String message;
private float totalBlocks;
private float completedBlocks;
- private FORMAT_STATUS status;
+ private FORMAT_STATUS formatStatus;
public InitDiskStatusResponse() {
@@ -74,16 +74,16 @@ public class InitDiskStatusResponse {
return completedBlocks;
}
- public String getStatusStr() {
- return FORMAT_STATUS_STR[getStatus().ordinal()];
+ public String getFormatStatusStr() {
+ return FORMAT_STATUS_STR[getFormatStatus().ordinal()];
}
- public FORMAT_STATUS getStatus() {
- return status;
+ public FORMAT_STATUS getFormatStatus() {
+ return formatStatus;
}
- public void setStatus(FORMAT_STATUS status) {
- this.status = status;
+ public void setFormatStatus(FORMAT_STATUS status) {
+ this.formatStatus = status;
}
}