Fix invalid data in state change
This commit is contained in:
parent
3ede0c7d38
commit
04a09b9269
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue