From e6d1f4f6307c397e0538bbdcf44b9e34243eb078 Mon Sep 17 00:00:00 2001 From: tahahawa Date: Thu, 22 May 2025 08:50:55 -0400 Subject: [PATCH] fix: make HelmRepository public --- harmony/src/modules/helm/chart.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/harmony/src/modules/helm/chart.rs b/harmony/src/modules/helm/chart.rs index ec90cd9..309bd1e 100644 --- a/harmony/src/modules/helm/chart.rs +++ b/harmony/src/modules/helm/chart.rs @@ -23,7 +23,7 @@ pub struct HelmRepository { force_update: bool, } impl HelmRepository { - pub(crate) fn new(name: String, url: Url, force_update: bool) -> Self { + pub fn new(name: String, url: Url, force_update: bool) -> Self { Self { name, url, @@ -104,7 +104,10 @@ impl HelmChartInterpret { fn run_helm_command(args: &[&str]) -> Result { let command_str = format!("helm {}", args.join(" ")); - debug!("Got KUBECONFIG: `{}`", std::env::var("KUBECONFIG").unwrap()); + debug!( + "Got KUBECONFIG: `{}`", + std::env::var("KUBECONFIG").unwrap_or("".to_string()) + ); debug!("Running Helm command: `{}`", command_str); let output = Command::new("helm") -- 2.39.5