From edf37390d4deddca6f4cdae43b47b5cb49019177 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 1 May 2025 14:50:47 +0200 Subject: [PATCH] common/helpers: remove nonexistent fields from TLS validation --- common/helpers/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/helpers/tls.go b/common/helpers/tls.go index 0c674c53..068d9bbb 100644 --- a/common/helpers/tls.go +++ b/common/helpers/tls.go @@ -14,7 +14,7 @@ import ( // TLSConfiguration defines TLS configuration. type TLSConfiguration struct { // Enable says if TLS should be used to connect to brokers - Enable bool `validate:"required_with=CAFile CertFile KeyFile Username Password SASLAlgorithm"` + Enable bool `validate:"required_with=CAFile CertFile KeyFile"` // Verify says if we need to check remote certificates Verify bool // CAFile tells the location of the CA certificate to check broker