Skip to content

Commit

Permalink
Merge release branch 4.19 to main
Browse files Browse the repository at this point in the history
* 4.19:
  [linstor] Fix revertSnapshot (apache#9271)
  • Loading branch information
DaanHoogland committed Jun 20, 2024
2 parents fbeee49 + 7dce3d8 commit 8806e44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ private String revertSnapshotFromImageStore(
private String doRevertSnapshot(final SnapshotInfo snapshot, final VolumeInfo volumeInfo) {
final StoragePool pool = (StoragePool) volumeInfo.getDataStore();
final DevelopersApi linstorApi = LinstorUtil.getLinstorAPI(pool.getHostAddress());
final String rscName = LinstorUtil.RSC_PREFIX + volumeInfo.getUuid();
final String rscName = LinstorUtil.RSC_PREFIX + volumeInfo.getPath();
String resultMsg;
try {
if (snapshot.getDataStore().getRole() == DataStoreRole.Primary) {
Expand Down

0 comments on commit 8806e44

Please sign in to comment.