From bbfc38946acbe1434184e90218d3831765176b14 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 26 Nov 2020 14:50:18 +0100 Subject: Fix: Rename possible values to lowercase Signed-off-by: Matthias Beyer --- src/config/endpoint_config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config') diff --git a/src/config/endpoint_config.rs b/src/config/endpoint_config.rs index 2146910..2ce8d65 100644 --- a/src/config/endpoint_config.rs +++ b/src/config/endpoint_config.rs @@ -27,7 +27,9 @@ pub struct Endpoint { #[derive(Clone, Debug, Deserialize, Eq, PartialEq)] pub enum EndpointType { + #[serde(rename = "socket")] Socket, + #[serde(rename = "http")] Http, } -- cgit v1.2.3