In upstream Consul (as of May 2018), check.Script has been removed in
favour of check.Args, which now results in the following build error:
consul/consul.go:108:8: check.Script undefined (type api.AgentServiceCheck has no field or method Script)
consul/consul.go:110:8: check.Script undefined (type api.AgentServiceCheck has no field or method Script)
consul/consul.go:121:10: check.Script undefined (type *api.AgentServiceCheck has no field or method Script)
In upstream Consul (as of May 2018), check.Script has been removed in favour of check.Args, which now results in the following build error:
consul/consul.go:108:8: check.Script undefined (type api.AgentServiceCheck has no field or method Script) consul/consul.go:110:8: check.Script undefined (type api.AgentServiceCheck has no field or method Script) consul/consul.go:121:10: check.Script undefined (type *api.AgentServiceCheck has no field or method Script)
Update to use the new convention.