From 4cce6631d896bf34e28294381a7c404c860c08eb Mon Sep 17 00:00:00 2001 From: troychiu Date: Wed, 27 Mar 2024 14:28:17 -0700 Subject: [PATCH] Update phase field to use closure's phase Signed-off-by: troychiu --- flyteadmin/pkg/repositories/transformers/execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyteadmin/pkg/repositories/transformers/execution.go b/flyteadmin/pkg/repositories/transformers/execution.go index 368cd8e4bd..b018faf7d7 100644 --- a/flyteadmin/pkg/repositories/transformers/execution.go +++ b/flyteadmin/pkg/repositories/transformers/execution.go @@ -128,7 +128,7 @@ func CreateExecutionModel(input CreateExecutionModelInput) (*models.Execution, e Name: input.WorkflowExecutionID.Name, }, Spec: spec, - Phase: input.Phase.String(), + Phase: closure.Phase.String(), Closure: closureBytes, WorkflowID: input.WorkflowID, ExecutionCreatedAt: &input.CreatedAt,