update provisioner to support consul based storage
Change-Id: Iaa649396d23bbf28a4d99a188c9846aea1310cd0
diff --git a/provisioner/handlers.go b/provisioner/handlers.go
index 32812da..5bc6e57 100644
--- a/provisioner/handlers.go
+++ b/provisioner/handlers.go
@@ -65,7 +65,7 @@
}
if !c.validateData(&info) {
- log.Printf("[errpr] Provisioning request not valid for '%s'", info.Name)
+ log.Printf("[error] Provisioning request not valid for '%s'", info.Name)
w.WriteHeader(http.StatusBadRequest)
return
}
@@ -84,7 +84,7 @@
}
err = c.dispatcher.Dispatch(&info, role, script)
if err != nil {
- log.Printf("[errpr] unable to dispatch provisioning request for node '%s' : %s", info.Name, err)
+ log.Printf("[error] unable to dispatch provisioning request for node '%s' : %s", info.Name, err)
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}