Set expected PVC version for mirroring

This commit is contained in:
Joshua Boniface 2024-10-15 11:31:50 -04:00
parent 962fba7621
commit 6ace2ebf6a
1 changed files with 3 additions and 3 deletions

View File

@ -3269,7 +3269,7 @@ def vm_worker_send_snapshot(
) )
return False return False
expected_destination_pvc_version = "0.9.100" # TODO: 0.9.101 when completed expected_destination_pvc_version = "0.9.101"
# Work around development versions # Work around development versions
current_destination_pvc_version = re.sub( current_destination_pvc_version = re.sub(
r"~git-.*", "", current_destination_pvc_version r"~git-.*", "", current_destination_pvc_version
@ -3813,7 +3813,7 @@ def vm_worker_create_mirror(
) )
return False return False
expected_destination_pvc_version = "0.9.100" # TODO: 0.9.101 when completed expected_destination_pvc_version = "0.9.101"
# Work around development versions # Work around development versions
current_destination_pvc_version = re.sub( current_destination_pvc_version = re.sub(
r"~git-.*", "", current_destination_pvc_version r"~git-.*", "", current_destination_pvc_version
@ -4409,7 +4409,7 @@ def vm_worker_promote_mirror(
) )
return False return False
expected_destination_pvc_version = "0.9.100" # TODO: 0.9.101 when completed expected_destination_pvc_version = "0.9.101"
# Work around development versions # Work around development versions
current_destination_pvc_version = re.sub( current_destination_pvc_version = re.sub(
r"~git-.*", "", current_destination_pvc_version r"~git-.*", "", current_destination_pvc_version