From 6fbd66d876e94578fe9f9febdd1b953c439bd73b Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 2 Aug 2024 09:15:20 +0200 Subject: [PATCH] Fix borrowed expression which implements trait Signed-off-by: Sascha Grunert --- conmon-rs/server/src/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conmon-rs/server/src/rpc.rs b/conmon-rs/server/src/rpc.rs index 6acc98aa62..19c17c61fe 100644 --- a/conmon-rs/server/src/rpc.rs +++ b/conmon-rs/server/src/rpc.rs @@ -420,7 +420,7 @@ impl conmon::Server for Server { for (idx, namespace) in pause.namespaces().iter().enumerate() { let mut ns = namespaces.reborrow().get(pry_err!(idx.try_into())); ns.set_path( - &namespace + namespace .path(pause.base_path(), pod_id) .display() .to_string(),