Closed docgonzo2015 closed 2 years ago
I have a similar experience with two of my containers while trying to view logs (by pressing L over the highlighted container). One is a basic nginx container, the other is an ASPNetCore application. Both result in the same message:
panic: runtime error: index out of range [1] with length 1
goroutine 112 [running]:
github.com/bcicen/ctop/connector/collector.(*DockerLogs).Stream.func1(0xc00012e080, 0xc00009c000, 0xc000420300)
/home/bradley/work/bcicen/ctop/connector/collector/docker_logs.go:52 +0x1f4
created by github.com/bcicen/ctop/connector/collector.(*DockerLogs).Stream
/home/bradley/work/bcicen/ctop/connector/collector/docker_logs.go:47 +0x278
fixed in https://github.com/bcicen/ctop/commit/acbf17a4fd8bb08ef26cd8294c5dbeee1f548c8e; to be included in v0.7.8