From 0ac55a0ec151a9dd711212a2978e071ac5f8b5df Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 27 Sep 2024 08:53:14 +0200 Subject: [PATCH] equals func on exec + draft container subobject --- models/workflow_execution/workflow_execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow_execution/workflow_execution.go b/models/workflow_execution/workflow_execution.go index f8bbd6d..49f0c74 100644 --- a/models/workflow_execution/workflow_execution.go +++ b/models/workflow_execution/workflow_execution.go @@ -86,7 +86,7 @@ type WorkflowExecution struct { } func (wfa *WorkflowExecution) Equals(we *WorkflowExecution) bool { - return wfa.UUID == we.UUID && wfa.ExecDate.Equal(*we.ExecDate) && wfa.WorkflowID == we.WorkflowID + return wfa.ExecDate.Equal(*we.ExecDate) && wfa.WorkflowID == we.WorkflowID } // tool to transform the argo status to a state