From 027cbd184cbf5ae87833088ac76b6b5267df1bdc Mon Sep 17 00:00:00 2001 From: Tom McSweeney Date: Mon, 1 Aug 2016 12:57:10 -0700 Subject: [PATCH] Fixes #1113: removes fixed max-failure value from task creation --- core/task.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/task.go b/core/task.go index b5a1d212b..08e90a8ce 100644 --- a/core/task.go +++ b/core/task.go @@ -197,7 +197,6 @@ func CreateTaskFromContent(body io.ReadCloser, if tr.Name != "" { opts = append(opts, SetTaskName(tr.Name)) } - opts = append(opts, OptionStopOnFailure(10)) if mode == nil { mode = &tr.Start