From c2f887a1efb4705c29c410f414c0a47a287d5e9d Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Thu, 25 Apr 2024 13:25:01 +0200 Subject: [PATCH] fix: mqtt-tls in default config template - panic: json: cannot unmarshal string into Go struct field Config.mqtt-tls of type bool Signed-off-by: Julian Strobl --- config/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index c726e3f..a1f1e1b 100644 --- a/config/config.go +++ b/config/config.go @@ -23,8 +23,7 @@ mqtt-domain = "{{ .PlmntConfig.MqttDomain }}" mqtt-port = {{ .PlmntConfig.MqttPort }} mqtt-user = "{{ .PlmntConfig.MqttUser }}" mqtt-password = "{{ .PlmntConfig.MqttPassword }}" -mqtt-tls = "{{ .PlmntConfig.MqttTLS }}" - +mqtt-tls = {{ .PlmntConfig.MqttTLS }} ` // Config defines Planetmint's top level configuration