mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 14:31:44 +01:00
feat: enables container filter to be configured at multiple places
This commit is contained in:
@@ -36,8 +36,8 @@ func (a *agentService) StreamLogs(ctx context.Context, container docker.Containe
|
||||
return a.client.StreamContainerLogs(ctx, container.ID, from, stdTypes, events)
|
||||
}
|
||||
|
||||
func (a *agentService) ListContainers(ctx context.Context) ([]docker.Container, error) {
|
||||
return a.client.ListContainers(ctx)
|
||||
func (a *agentService) ListContainers(ctx context.Context, filter docker.ContainerFilter) ([]docker.Container, error) {
|
||||
return a.client.ListContainers(ctx, filter)
|
||||
}
|
||||
|
||||
func (a *agentService) Host(ctx context.Context) (docker.Host, error) {
|
||||
|
||||
Reference in New Issue
Block a user