Skip to content

Commit

Permalink
bugfix: 修复节点状态清除完成时间失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Nov 29, 2022
1 parent 7c3b699 commit 91a1297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/bamboo-pipeline/pipeline/eri/imp/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def set_state(
fields["started_time"] = timezone.now()

if clear_archived_time and state:
fields["archived_time"] = timezone.now()
fields["archived_time"] = None

if set_archive_time:
fields["archived_time"] = timezone.now()
Expand Down

0 comments on commit 91a1297

Please sign in to comment.