From 91a1297289b0f5d231fbd0390a15918841b6a0da Mon Sep 17 00:00:00 2001 From: waylon <1158341873@qq.com> Date: Tue, 29 Nov 2022 20:38:43 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E5=A4=8D=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=B8=85=E9=99=A4=E5=AE=8C=E6=88=90=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/bamboo-pipeline/pipeline/eri/imp/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/bamboo-pipeline/pipeline/eri/imp/state.py b/runtime/bamboo-pipeline/pipeline/eri/imp/state.py index 340faa69..1facbea1 100644 --- a/runtime/bamboo-pipeline/pipeline/eri/imp/state.py +++ b/runtime/bamboo-pipeline/pipeline/eri/imp/state.py @@ -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()