Skip to content

Commit 9d9e187

Browse files
committed
Fix agent cron API call
1 parent a243f46 commit 9d9e187

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cli/polyaxon/_runner/agent/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ def sync_agent(self, agent: V1Agent):
6363
)
6464

6565
def cron_agent(self):
66-
return self.client.agents_v1.cron_agent(owner=self.owner, _request_timeout=10)
66+
return self.client.agents_v1.cron_agent(
67+
owner=self.owner, body={}, _request_timeout=10
68+
)
6769

6870
def collect_agent_data(self, namespace: str):
6971
return self.client.internal_agents_v1.collect_agent_data(

0 commit comments

Comments
 (0)