Commit 3183a527 authored by Elachance's avatar Elachance

Update main.go

parent 73bbfab8
......@@ -6,5 +6,10 @@ import (
)
func main() {
plugin.ServeProvisioner(new(chefclient.Provisioner))
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(chefclient.Provisioner))
server.Serve()
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment