fix: small-fixes (#19)
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/19 Reviewed-by: johnride <jg@nationtech.io> Co-authored-by: Taha Hawa <taha@taha.dev> Co-committed-by: Taha Hawa <taha@taha.dev>
This commit is contained in:
parent
00c0566533
commit
d307893f15
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1373,6 +1373,7 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"assert_cmd",
|
||||
"clap",
|
||||
"env_logger",
|
||||
"harmony",
|
||||
"harmony_tui",
|
||||
"inquire",
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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]
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user