commit | 38501586a69eda328b2589aeeb8879634d13e5ec | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Wed Jun 01 18:15:45 2016 -0700 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Wed Jun 01 18:15:45 2016 -0700 |
tree | f7a57f8e02b399ee7b142097170776152c864fc9 | |
parent | d86d96d26c7c208693a4357e5717ae874caeb795 [diff] [blame] |
correctly pass the script to the worker
diff --git a/provisioner/handlers.go b/provisioner/handlers.go index 2ac421d..11df6ee 100644 --- a/provisioner/handlers.go +++ b/provisioner/handlers.go
@@ -61,7 +61,7 @@ http.Error(w, err.Error(), http.StatusInternalServerError) return } - err = c.dispatcher.Dispatch(&info, role) + err = c.dispatcher.Dispatch(&info, role, c.config.Script) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return