mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
feat: enables container filter to be configured at multiple places
This commit is contained in:
@@ -3,12 +3,14 @@ package web
|
||||
import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"github.com/amir20/dozzle/internal/docker"
|
||||
)
|
||||
|
||||
func (h *handler) debugStore(w http.ResponseWriter, r *http.Request) {
|
||||
respone := make(map[string]interface{})
|
||||
respone["hosts"] = h.multiHostService.Hosts()
|
||||
containers, errors := h.multiHostService.ListAllContainers()
|
||||
containers, errors := h.multiHostService.ListAllContainers(docker.ContainerFilter{})
|
||||
respone["containers"] = containers
|
||||
respone["errors"] = errors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user