diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/v2/service.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/v2/service.go b/pkg/v2/service.go index 3116c09fe..c2d2b1511 100644 --- a/pkg/v2/service.go +++ b/pkg/v2/service.go @@ -249,6 +249,9 @@ func (s *service) Create(ctx context.Context, r *taskAPI.CreateTaskRequest) (_ * if o.RuntimeRoot != "" { root = o.RuntimeRoot } + + opts.BinaryName = o.Runtime + path = filepath.Join(root, configFile) if _, err := os.Stat(path); err != nil { if !os.IsNotExist(err) { |