Fix Impress examples
This commit is contained in:
@@ -13,6 +13,8 @@ def get_vm_command_line(env, config: Dict[str, str]):
|
||||
|
||||
response = requests.post(f"http://{vm_ip}:{port}/execute", json={"command": command, "shell": shell})
|
||||
|
||||
print(response.json())
|
||||
|
||||
if response.status_code == 200:
|
||||
return response.json()["output"]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user