Skip to content

Commit 8806e44

Browse files
committed
Merge release branch 4.19 to main
* 4.19: [linstor] Fix revertSnapshot (#9271)
2 parents fbeee49 + 7dce3d8 commit 8806e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ private String revertSnapshotFromImageStore(
720720
private String doRevertSnapshot(final SnapshotInfo snapshot, final VolumeInfo volumeInfo) {
721721
final StoragePool pool = (StoragePool) volumeInfo.getDataStore();
722722
final DevelopersApi linstorApi = LinstorUtil.getLinstorAPI(pool.getHostAddress());
723-
final String rscName = LinstorUtil.RSC_PREFIX + volumeInfo.getUuid();
723+
final String rscName = LinstorUtil.RSC_PREFIX + volumeInfo.getPath();
724724
String resultMsg;
725725
try {
726726
if (snapshot.getDataStore().getRole() == DataStoreRole.Primary) {

0 commit comments

Comments
 (0)