From aa01112b4e2321ee5f3b3e0958716600d141fec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojte=CC=8Cch=20Parka=CC=81n?= Date: Mon, 14 Oct 2024 13:53:36 +0200 Subject: [PATCH] add lifetime for daemon_shared_app fn return --- node/src/daemon/setup_reporter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/daemon/setup_reporter.rs b/node/src/daemon/setup_reporter.rs index abc15b09b..a9140cac7 100644 --- a/node/src/daemon/setup_reporter.rs +++ b/node/src/daemon/setup_reporter.rs @@ -69,7 +69,7 @@ pub fn setup_cluster_from(input: Vec<(&str, &str, UiSetupResponseValueStatus)>) .collect::() } -fn daemon_shared_app() -> App { +fn daemon_shared_app() -> App<'static, 'static> { shared_app(app_head()).arg(data_directory_arg(DATA_DIRECTORY_DAEMON_HELP.as_str())) }