Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
haitch committed Jun 21, 2024
1 parent ada6496 commit 50700b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step_exec_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type StepErrorPolicy struct{}

type RetryPolicy interface {
// ShouldRetry returns true if the error should be retried, and the duration to wait before retrying.
// The int parameter is the retry count
// The int parameter is the retry count, first execution fail will invoke this with 0.
ShouldRetry(error, uint) (bool, time.Duration)
}

Expand Down

0 comments on commit 50700b2

Please sign in to comment.