You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/07/23 15:54:30 UTC
[GitHub] dewrich commented on issue #2544: properly handle missing listen
field in cdn.conf fixes #1590
dewrich commented on issue #2544: properly handle missing listen field in cdn.conf fixes #1590
URL: https://github.com/apache/trafficcontrol/pull/2544#issuecomment-407107514
@DylanVolz To test, I manually removed the "listen" section from the cdn.conf and I'm seeing this error:
```panic: runtime error: index out of range
goroutine 1 [running]:
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/config.ParseConfig(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4202306b0, 0x4, ...)
/Users/dricha209/projects/go/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/config/config.go:259 +0x7d7
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/config.LoadConfig(0x7ffeefbfe49a, 0x19, 0x7ffeefbfe4bb, 0x23, 0x0, 0x0, 0x15d63c5, 0xb, 0x0, 0x0, ...)
/Users/dricha209/projects/go/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/config/config.go:167 +0x817
main.main()
/Users/dricha209/projects/go/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/traffic_ops_golang.go:65 +0x234
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services