mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add NewDockerLogs constructor method
This commit is contained in:
@@ -66,7 +66,7 @@ func (c *Docker) Stream() chan models.Metrics {
|
||||
}
|
||||
|
||||
func (c *Docker) Logs() LogCollector {
|
||||
return &DockerLogs{c.id, c.client, make(chan bool)}
|
||||
return NewDockerLogs(c.id, c.client)
|
||||
}
|
||||
|
||||
// Stop collector
|
||||
|
||||
Reference in New Issue
Block a user