owsferraro commented on code in PR #12880:
URL: https://github.com/apache/cloudstack/pull/12880#discussion_r2983132527


##########
plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java:
##########
@@ -623,7 +623,7 @@ public boolean revertSnapshot(final String 
sourceSnapshotVolumeId, final String
 
         Boolean overwriteVolumeContentStatus = post(
                 "/instances/Volume::" + destVolumeId + 
"/action/overwriteVolumeContent",
-                
String.format("{\"srcVolumeId\":\"%s\",\"allowOnExtManagedVol\":\"TRUE\"}", 
sourceSnapshotVolumeId), Boolean.class);
+                
String.format("{\"srcVolumeId\":\"%s\"}",sourceSnapshotVolumeId),Boolean.class);

Review Comment:
   changed the code to check the Powerflex version and if >= 4.0 the 
allowOnExtManagedVol is removed. I have tested this change on Powerflex version 
4.6, I cannot test on version 3.5



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to