Update main.go
This commit is contained in:
parent
73bbfab8f1
commit
3183a52778
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue