From 4f4f64438cbb3c20d2c68f5db40d1b88b38ab15a Mon Sep 17 00:00:00 2001 From: kohashimoto Date: Thu, 2 May 2024 23:30:51 +0900 Subject: [PATCH] refactor(api_resources): remove unused 'shared' function from ApiResources struct --- src/features/api_resources/kube/api_resources.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/features/api_resources/kube/api_resources.rs b/src/features/api_resources/kube/api_resources.rs index d000e5ed..b02357d6 100644 --- a/src/features/api_resources/kube/api_resources.rs +++ b/src/features/api_resources/kube/api_resources.rs @@ -40,11 +40,6 @@ impl ApiResources { pub fn to_vec(&self) -> Vec { self.inner.clone() } - - /// SharedApiResourcesを生成 - pub fn shared() -> SharedApiResources { - Arc::new(RwLock::new(Default::default())) - } } impl Deref for ApiResources {