cargo fmt
Some checks failed
Run Check Script / check (pull_request) Failing after 1m7s

This commit is contained in:
Willem 2025-09-09 15:36:49 -04:00
parent 849bd79710
commit a5f9ecfcf7
2 changed files with 1 additions and 10 deletions

View File

@ -30,7 +30,6 @@ pub struct MonitoringStackSpec {
/// Resource selector for workloads monitored by this stack.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub resource_selector: Option<LabelSelector>,
}
impl Default for MonitoringStackSpec {

View File

@ -261,15 +261,9 @@ impl RHOBAlertingInterpret {
let stack = MonitoringStack {
metadata: ObjectMeta {
name: Some(format!("{}-monitoring", self.sender.namespace.clone()).into()),
namespace: Some(self.sender.namespace.clone()),
labels: Some(
[
("monitoring-stack".into(), "true".into()),
]
.into(),
),
labels: Some([("monitoring-stack".into(), "true".into())].into()),
..Default::default()
},
spec: MonitoringStackSpec {
@ -279,7 +273,6 @@ impl RHOBAlertingInterpret {
match_labels: Default::default(),
match_expressions: vec![],
}),
},
};
@ -288,7 +281,6 @@ impl RHOBAlertingInterpret {
.await
.map_err(|e| InterpretError::new(e.to_string()))?;
let alert_manager_domain = topology
.get_domain(format!("alert-manager-{}", self.sender.namespace.clone()))
.await?;