From 71eccb2394e0e2431e05642ae1576b73d3b3871a Mon Sep 17 00:00:00 2001 From: Florian Ritterhoff Date: Mon, 13 May 2024 17:43:38 +0200 Subject: [PATCH] fix: make client id unique --- acme/mqtt/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/mqtt/client.go b/acme/mqtt/client.go index 086493ba7..4e7515346 100644 --- a/acme/mqtt/client.go +++ b/acme/mqtt/client.go @@ -25,7 +25,7 @@ func Connect(acmeDB acme.DB, host, user, password, organization string) (validat opts.PingTimeout = time.Second // local broker so response should be quick opts.ConnectRetry = true opts.AutoReconnect = true - opts.ClientID = "acme" + opts.ClientID = fmt.Sprintf("acme-%s", organization) opts.Username = user opts.Password = password opts.AddBroker(fmt.Sprintf("ssl://%s:8883", host))