From b55fbfeb8e27d03d995e1b84aa5fbafefb947c2e Mon Sep 17 00:00:00 2001 From: Jonas Geiler Date: Mon, 27 May 2024 11:03:04 +0200 Subject: [PATCH] refactor(api): updated tls validation error message Co-authored-by: Julien Neuhart --- pkg/modules/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/modules/api/api.go b/pkg/modules/api/api.go index 9320400d..cabe2888 100644 --- a/pkg/modules/api/api.go +++ b/pkg/modules/api/api.go @@ -309,7 +309,7 @@ func (a *Api) Validate() error { if (a.tlsCertFile != "" && a.tlsKeyFile == "") || (a.tlsCertFile == "" && a.tlsKeyFile != "") { err = multierr.Append(err, - errors.New("tls certificate and key file must both be set"), + errors.New("both TLS certificate and key files must be set"), ) }