light modification

This commit is contained in:
mr 2025-01-22 11:55:02 +01:00
parent 2a93b17d71
commit fa00980352

View File

@ -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))