fix: removed dead code, mapped error from grafana operator to preparation error rather than ignoring it, modified k8sprometheus score to unwrap_or_default() service monitors
Some checks failed
Run Check Script / check (pull_request) Has been cancelled

This commit is contained in:
2025-10-20 15:31:06 -04:00
parent c0d54a4466
commit ce91ee0168
3 changed files with 10 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
use harmony_macros::hurl;
use non_blank_string_rs::NonBlankString;
use std::{collections::HashMap, str::FromStr};
@@ -20,7 +21,7 @@ pub fn grafana_helm_chart_score(ns: &str, namespace_scope: bool) -> HelmChartSco
install_only: true,
repository: Some(HelmRepository::new(
"grafana".to_string(),
url::Url::parse("https://grafana.github.io/helm-charts").unwrap(),
hurl!("https://grafana.github.io/helm-charts"),
true,
)),
}