Skip to content

Commit

Permalink
feat: rename "updateTime" to "updatedAt" in UpdateWorkerSchedule API …
Browse files Browse the repository at this point in the history
…request (#131)

Signed-off-by: Josh Usiskin <56369778+jusiskin@users.noreply.github.com>
  • Loading branch information
jusiskin authored Jan 11, 2024
1 parent 680c22f commit f607954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/deadline_worker_agent/api_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class UpdatedSessionActionInfo(TypedDict):
progressMessage: NotRequired[str]
startedAt: NotRequired[datetime]
endedAt: NotRequired[datetime]
updateTime: NotRequired[datetime]
updatedAt: NotRequired[datetime]
progressPercent: NotRequired[float]


Expand Down
2 changes: 1 addition & 1 deletion src/deadline_worker_agent/scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _updated_action_to_boto(
if action_updated.completed_status:
updated_action["completedStatus"] = action_updated.completed_status
elif action_updated.update_time:
updated_action["updateTime"] = action_updated.update_time
updated_action["updatedAt"] = action_updated.update_time
if action_updated.status:
if action_updated.status.exit_code is not None:
updated_action["processExitCode"] = action_updated.status.exit_code
Expand Down

0 comments on commit f607954

Please sign in to comment.