1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

chore: logs swarm mode to beacon (#2918)

This commit is contained in:
Amir Raminfar
2024-04-26 14:30:32 -07:00
committed by GitHub
parent 7fb4dcce77
commit d7079c36e4
8 changed files with 60 additions and 127 deletions

View File

@@ -59,6 +59,10 @@ func (m *MockedClient) Host() *docker.Host {
return args.Get(0).(*docker.Host)
}
func (m *MockedClient) IsSwarmMode() bool {
return false
}
func createHandler(client docker.Client, content fs.FS, config Config) *chi.Mux {
if client == nil {
client = new(MockedClient)