Unverified Commit 1876a59d authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

symphony/client: remove some debug prints

parent 24c9aa30
...@@ -178,7 +178,6 @@ class TokenClient: ...@@ -178,7 +178,6 @@ class TokenClient:
"ticket": ticket, "ticket": ticket,
}, },
) as resp: ) as resp:
print(await resp.text())
resp.raise_for_status() # TODO: handel gracefully resp.raise_for_status() # TODO: handel gracefully
json_resp = await resp.json() json_resp = await resp.json()
if "error" in json_resp: if "error" in json_resp:
......
...@@ -435,7 +435,6 @@ class RunnerClient: ...@@ -435,7 +435,6 @@ class RunnerClient:
async def create_runner(self, label: str, tags: list[str]) -> dict: async def create_runner(self, label: str, tags: list[str]) -> dict:
obj = {"label": label, "tags": list(map(lambda t: {"label": t, "runner_id": None}, tags))} obj = {"label": label, "tags": list(map(lambda t: {"label": t, "runner_id": None}, tags))}
print(obj)
async with self._ns_client.post(url=f"/runners", json=obj) as resp: async with self._ns_client.post(url=f"/runners", json=obj) as resp:
return await resp.json() return await resp.json()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment