summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index b655142..80aa62f 100644
--- a/main.go
+++ b/main.go
@@ -35,7 +35,10 @@ type Task struct {
}
func (t Task) Run() {
- _, err := backoff.Retry(context.Background(), func() (bool, error) { return true, createTask(t.Name) }, backoff.WithBackOff(backoff.NewExponentialBackOff()))
+ _, err := backoff.Retry(
+ context.Background(),
+ func() (bool, error) { return true, createTask(t.Name) },
+ )
if err != nil {
log.Printf("Failed to create task '%s': %s", t.Name, err)
}