mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
common/helpers: remove nonexistent fields from TLS validation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user