mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
fix: fixes hostname feature for swarm mode (#3535)
This commit is contained in:
2
main.go
2
main.go
@@ -171,7 +171,7 @@ func main() {
|
|||||||
go cli.StartEvent(args, "server", localClient, "")
|
go cli.StartEvent(args, "server", localClient, "")
|
||||||
|
|
||||||
} else if args.Mode == "swarm" {
|
} else if args.Mode == "swarm" {
|
||||||
localClient, err := docker.NewLocalClient(args.Hostname)
|
localClient, err := docker.NewLocalClient("")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal().Err(err).Msg("Could not create docker client")
|
log.Fatal().Err(err).Msg("Could not create docker client")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user