diff --git a/.github/workflows/release-helpers.yaml b/.github/workflows/release-helpers.yaml index b60df5e1..d1f125be 100644 --- a/.github/workflows/release-helpers.yaml +++ b/.github/workflows/release-helpers.yaml @@ -7,7 +7,6 @@ on: - main paths: - 'helpers/**' - workflow_dispatch: jobs: release: diff --git a/helpers/misc.go b/helpers/misc.go index 3131c971..2572dfde 100644 --- a/helpers/misc.go +++ b/helpers/misc.go @@ -20,7 +20,7 @@ func Retry(fn func() error, retries int, delay time.Duration, logger func(format if err == nil { break } - + pow := math.Pow(2, float64(r)) backoff := delay * time.Duration(pow)