From 4823a282b18b96ddd916d33224175bb2aed3ec38 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 3 Nov 2023 16:38:01 -0700 Subject: [PATCH] default empty vec --- web3_proxy/src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web3_proxy/src/config.rs b/web3_proxy/src/config.rs index adb3ad14..aa2d54a2 100644 --- a/web3_proxy/src/config.rs +++ b/web3_proxy/src/config.rs @@ -206,13 +206,17 @@ pub struct AppConfig { /// optional script to run before shutting the frontend down. /// this is useful for keeping load balancers happy. pub shutdown_script: Option, + /// optional arguments for your shutdown script. + #[serde_inline_default(vec![])] pub shutdown_script_args: Vec, /// optional script to run before shutting the frontend down. /// this is useful for keeping load balancers happy. pub start_script: Option, + /// optional arguments for your shutdown script. + #[serde_inline_default(vec![])] pub start_script_args: Vec, /// Optionally send errors to