From 6d31bf439e1199078e4d3c53fd850ef7b9987ffc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 9 Oct 2024 01:00:51 -0400 Subject: [PATCH] Update error text --- daemon-common/vm.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index 5f54a33e..d5a31f44 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -4204,7 +4204,7 @@ def vm_worker_create_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to create mirror: {response.json()['message']}", ) return False finally: @@ -4253,7 +4253,7 @@ def vm_worker_create_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to create mirror: {response.json()['message']}", ) return False finally: @@ -4275,7 +4275,7 @@ def vm_worker_create_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to create mirror: {response.json()['message']}", ) return False finally: @@ -4825,7 +4825,7 @@ def vm_worker_promote_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to promote mirror: {response.json()['message']}", ) return False finally: @@ -4874,7 +4874,7 @@ def vm_worker_promote_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to promote mirror: {response.json()['message']}", ) return False finally: @@ -4896,7 +4896,7 @@ def vm_worker_promote_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to promote mirror: {response.json()['message']}", ) return False finally: @@ -4929,7 +4929,7 @@ def vm_worker_promote_mirror( except Exception: fail( celery, - f"Failed to send snapshot: {response.json()['message']}", + f"Failed to promote mirror: {response.json()['message']}", ) return False