Skip to content

Commit

Permalink
fixed to certainly store the startTime (#5461)
Browse files Browse the repository at this point in the history
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
  • Loading branch information
t-kikuc authored Dec 27, 2024
1 parent 6e98705 commit 77664e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/piped/executor/wait/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (e *Executor) Execute(sig executor.StopSignal) model.StageStatus {
} else {
startTime = time.Now()
}
defer e.saveStartTime(sig.Context(), startTime)
e.saveStartTime(sig.Context(), startTime)

timer := time.NewTimer(duration)
defer timer.Stop()
Expand Down

0 comments on commit 77664e1

Please sign in to comment.