Skip to content

Commit 5b822bd

Browse files
authored
fix: fixes hostname feature for swarm mode (#3535)
1 parent 0f1a916 commit 5b822bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func main() {
171171
go cli.StartEvent(args, "server", localClient, "")
172172

173173
} else if args.Mode == "swarm" {
174-
localClient, err := docker.NewLocalClient(args.Hostname)
174+
localClient, err := docker.NewLocalClient("")
175175
if err != nil {
176176
log.Fatal().Err(err).Msg("Could not create docker client")
177177
}

0 commit comments

Comments
 (0)