Skip to content

Commit b06e942

Browse files
committed
Fix: fully remove _generate_header call in get_logs
1 parent 5c61b9b commit b06e942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/sdk/client/vmclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ async def get_logs(self, vm_id):
134134

135135
payload = self.create_payload(vm_id, "logs")
136136
signed_operation = self.sign_payload(payload, self.ephemeral_key)
137-
138-
ws_url, header = await self._generate_header(vm_id=vm_id, operation="logs")
137+
path = payload["path"]
138+
ws_url = f"{self.node_url}{payload[path]}"
139139

140140
async with self.session.ws_connect(ws_url) as ws:
141141
auth_message = {

0 commit comments

Comments
 (0)