fix: small-fixes #19

Merged
johnride merged 2 commits from small-fixes into master 2025-04-24 18:47:48 +00:00
4 changed files with 6 additions and 2 deletions

1
Cargo.lock generated
View File

@ -1373,6 +1373,7 @@ version = "0.1.0"
dependencies = [
"assert_cmd",
"clap",
"env_logger",
"harmony",
"harmony_tui",
"inquire",

View File

@ -6,7 +6,7 @@ use crate::topology::{HelmCommand, Topology};
use async_trait::async_trait;
use helm_wrapper_rs;
use helm_wrapper_rs::blocking::{DefaultHelmExecutor, HelmExecutor};
use non_blank_string_rs::NonBlankString;
pub use non_blank_string_rs::NonBlankString;
use serde::Serialize;
use std::collections::HashMap;
@ -27,7 +27,7 @@ impl<T: Topology + HelmCommand> Score<T> for HelmChartScore {
}
fn name(&self) -> String {
"HelmChartScore".to_string()
format!("{} {} HelmChartScore", self.release_name, self.chart_name)
}
}

View File

@ -12,6 +12,7 @@ harmony = { path = "../harmony" }
harmony_tui = { path = "../harmony_tui", optional = true }
inquire.workspace = true
tokio.workspace = true
env_logger.workspace = true
[features]

View File

@ -99,6 +99,8 @@ pub async fn init<T: Topology + Send + Sync + 'static>(
return Err("Not compiled with interactive support".into());
}
env_logger::builder().init();
let scores_vec = maestro_scores_filter(&maestro, args.all, args.filter, args.number);
if scores_vec.len() == 0 {