From e78301c92c996377baca415705cb484f4a42ec39 Mon Sep 17 00:00:00 2001 From: Rami Daghlawi Date: Mon, 21 Oct 2024 21:03:32 +0200 Subject: [PATCH] fix: ignore error on parse --- src/config.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/config.rs b/src/config.rs index 74b0007..a652975 100644 --- a/src/config.rs +++ b/src/config.rs @@ -43,13 +43,7 @@ pub fn get(current_session: Option<&str>) -> KubeConfigs { conifg.current_context = kubeconfig.current_context.clone(); } } - Err(err) => { - eprintln!( - "Failed to load Kubeconfig from '{}': {}", - path.display(), - err - ); - } + Err(_) => {} } }