Skip to content

Commit 4bf31be

Browse files
committed
Fix: create playload
1 parent bef04cb commit 4bf31be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/aleph/sdk/client/vmclient.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ async def _generate_pubkey_signature_header(self) -> str:
6767

6868
def create_payload(self, vm_id: str, operation: str) -> Dict[str, str]:
6969
path = (
70-
f"/control/machine/logs/{vm_id}"
71-
if operation == "logs"
72-
else f"/control/machine/{vm_id}/{operation}"
70+
f"/control/machine/{vm_id}/{operation}"
7371
)
7472
payload = {
7573
"time": datetime.datetime.utcnow().isoformat() + "Z",

0 commit comments

Comments
 (0)