summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java')
-rw-r--r--src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java
index 227c60b7..1558749c 100644
--- a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java
+++ b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/CreateVolumeWizard.java
@@ -99,7 +99,7 @@ public class CreateVolumeWizard extends Wizard {
boolean warning = false;
if (page.startVolumeAfterCreation()) {
try {
- volumesClient.startVolume(newVolume.getName());
+ volumesClient.startVolume(newVolume.getName(), false);
newVolume.setStatus(VOLUME_STATUS.ONLINE);
message = "Volume created and started successfully!";
} catch(Exception e) {
@@ -127,7 +127,7 @@ public class CreateVolumeWizard extends Wizard {
+ errMsg + CoreConstants.NEWLINE + CoreConstants.NEWLINE
+ "Do you still want to start the volume [" + newVolume.getName() + "]?")) {
try {
- volumesClient.startVolume(newVolume.getName());
+ volumesClient.startVolume(newVolume.getName(), false);
newVolume.setStatus(VOLUME_STATUS.ONLINE);
message1 = "Volume [" + newVolume.getName() + "] started successfully!"; // Only start operation
} catch(Exception e1) {