Skip to content

Commit 38b9ec4

Browse files
Update plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
1 parent 2e0c5e3 commit 38b9ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ private String buildOverwriteVolumeContentRequest(final String srcVolumeId) {
639639
if (isVersionAtLeast(4, 0)) {
640640
logger.debug("Using PowerFlex 4.0+ overwriteVolumeContent request body");
641641
return String.format("{\"srcVolumeId\":\"%s\"}", srcVolumeId);
642-
}
642+
} else {
643643
else {
644644
logger.debug("Using pre-4.0 overwriteVolumeContent request body");
645645
return String.format("{\"srcVolumeId\":\"%s\",\"allowOnExtManagedVol\":\"TRUE\"}", srcVolumeId); }

0 commit comments

Comments
 (0)