mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
feat: tries to use swarm node id if exists then machine-id (#3097)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user