From fa00980352fa5a89b76516a3b33972731e33034a Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 22 Jan 2025 11:55:02 +0100 Subject: [PATCH] light modification --- models/workflow/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow/workflow.go b/models/workflow/workflow.go index 4539798..6a20fa0 100644 --- a/models/workflow/workflow.go +++ b/models/workflow/workflow.go @@ -196,7 +196,7 @@ func plan[T resources.ResourceInterface](dt tools.DataType, wf *Workflow, priced priced.SetLocationEnd(*e) } } - if e := end(started, priced.GetExplicitDurationInS()); end != nil { + if e := end(started, priced.GetExplicitDurationInS()); e != nil { priced.SetLocationEnd(*e) } resources = append(resources, realItem.(T))