Skip to content

Commit

Permalink
update status
Browse files Browse the repository at this point in the history
Signed-off-by: chengtcc <864261919@qq.com>
  • Loading branch information
chengtcc committed Dec 21, 2023
1 parent ca3781f commit 4e6fb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/eggroll/cli/commands/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def submit(ctx, **kwargs):
break
log_type = kwargs.get("log_type") if not kwargs.get("log_type") else "stdout"
response = client.get_log(sessionId=session_id, logType=log_type)
if response["status"] != 'faild':
if response["status"] != 'failed':
response = client.query_status()
prettify(response)

Expand Down

0 comments on commit 4e6fb9f

Please sign in to comment.