From 5bd4c5aff49aa4ba0ea4a34fa101b5f14c0101c3 Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Tue, 14 Jul 2020 10:00:53 +0700 Subject: [PATCH] Correct messages of validate of the client tls in the config --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 086d5db..ab0dab4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -30,8 +30,8 @@ pub struct Config { #[validate(regex( path = "RE_TLS_CLIENT_AUTH", - message = "Incorrect stream format", - code = "format" + message = "Incorrect tls auth", + code = "tls_client_auth" ))] #[serde(default = "default_tls_client_auth")] pub tls_client_auth: String,