From 5c3b72b7a3e8215483810eee1e817fe31154853a Mon Sep 17 00:00:00 2001 From: Ara Sadoyan Date: Wed, 27 May 2026 14:26:05 +0200 Subject: [PATCH] parceyaml --- src/utils/parceyaml.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/parceyaml.rs b/src/utils/parceyaml.rs index 1b08f16..c77215c 100644 --- a/src/utils/parceyaml.rs +++ b/src/utils/parceyaml.rs @@ -31,7 +31,7 @@ pub async fn load_configuration(d: &str, kind: &str) -> (Option, data = content; break; } - }, + } Err(e) => { last_error = Some(e); } @@ -95,8 +95,7 @@ pub async fn load_configuration(d: &str, kind: &str) -> (Option, info!("Reading upstreams from {}", d); data - - }, + } "content" => { info!("Reading upstreams from API post body"); d.to_string()