1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

feat: tries to use swarm node id if exists then machine-id (#3097)

This commit is contained in:
Amir Raminfar
2024-07-11 12:09:49 -07:00
committed by GitHub
parent 8277902020
commit c5771fa9a4
3 changed files with 15 additions and 9 deletions

View File

@@ -114,7 +114,7 @@ func NewSwarmService(localClient docker.Client, certificates tls.Certificate) *M
}
func closeAgent(agent *agent.Client) {
log.Debugf("closing agent %s", agent.Host().ID)
log.Tracef("closing agent %s", agent.Host())
if err := agent.Close(); err != nil {
log.Warnf("error closing agent: %v", err)
}