We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to
cat-go/cat/config.go
Line 44 in f5c6d77
That is, in my project, I have specified http-port="443"attribute for <server>, but it still log something like:
http-port="443"
<server>
2019/05/05 18:59:24 [Info] Getting router config from http://xxxxxx.com:8080/cat/s/router?domain=Foo-Test&env=dev&hostname=martin-MacBook-Pro.local&ip=xx.xxx.xxx.xx&op=xml
Is this hardcode intentional?
The text was updated successfully, but these errors were encountered:
自己改吧
第一步: config.go中 添加HttpPort HttpPort int xml:"http-port,attr"
HttpPort int
第二步
config.go中parseXMLConfig插入一行代码 if index == 0 { config.httpServerPort = x.HttpPort }
if index == 0 {
config.httpServerPort = x.HttpPort
}
Sorry, something went wrong.
不支持修改配置文件路径,建议吧配置信息放到环境变量里面,方便读取。
No branches or pull requests
According to
cat-go/cat/config.go
Line 44 in f5c6d77
That is, in my project, I have specified
http-port="443"
attribute for<server>
, but it still log something like:Is this hardcode intentional?
The text was updated successfully, but these errors were encountered: