Skip to content

Commit

Permalink
fix data race
Browse files Browse the repository at this point in the history
  • Loading branch information
yohamta committed Feb 9, 2025
1 parent 149ebaa commit 271b1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/digraph/scheduler/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ func (n *Node) Teardown() error {
_ = os.Remove(n.scriptFile.Name())
}
if lastErr != nil {
n.data.State.Error = lastErr
n.setError(lastErr)
}

return lastErr
Expand Down

0 comments on commit 271b1f2

Please sign in to comment.