a error
hansu0704 opened this issue · 0 comments
[root@localhost consul-envoy-xds-master]# ./out/consul-envoy-xds
panic: CONSUL_CLIENT_PORT key is not set
goroutine 1 [running]:
consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig.checkKey(0xc22443, 0x12)
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig/utils.go:27 +0x128
consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig.getIntOrPanic(0xc22443, 0x12, 0xc22443)
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig/utils.go:11 +0x39
consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig.BaseConfig.GetIntValue(0xc22443, 0x12, 0xc000039030)
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojek-engineering/goconfig/config.go:88 +0xce
consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/config.(*Config).ConsulClientPost(...)
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/config/config.go:41
consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/config.(*Config).ConsulAddress(0xc000165c98, 0x0, 0x0)
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/config/config.go:49 +0x76
consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/app.Start()
/usr/local/gopath/src/consul-envoy-xds-master/vendor/github.com/gojektech/consul-envoy-xds/app/app.go:34 +0x338
main.main()
/usr/local/gopath/src/consul-envoy-xds-master/main.go:6 +0x20