Fix invalid data in state change

This commit is contained in:
Joshua Boniface 2024-10-09 00:55:13 -04:00
parent 3ede0c7d38
commit 04a09b9269
1 changed files with 0 additions and 1 deletions

View File

@ -4924,7 +4924,6 @@ def vm_worker_promote_mirror(
f"{destination_api_uri}/vm/{vm_name}/state", f"{destination_api_uri}/vm/{vm_name}/state",
headers={"Content-Type": "application/octet-stream"}, headers={"Content-Type": "application/octet-stream"},
params={"state": "start", "wait": True}, params={"state": "start", "wait": True},
data=full_chunker(),
) )
response.raise_for_status() response.raise_for_status()
except Exception: except Exception: