From 773b0fb4869abe66b685248cb401d947f9a8239b Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Wed, 1 May 2024 17:04:12 +0000 Subject: [PATCH] fix(policy)!: Rename "patchs" metric to "patches" ff5e485 added status controller metrics. The metric that counts the number of status patches was mistakenly named "patchs" instead of "patches." This commit renames the metric to "patches". Co-authored-by: Mark S --- policy-controller/k8s/status/src/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy-controller/k8s/status/src/index.rs b/policy-controller/k8s/status/src/index.rs index 841731c3a5016..8b45d5c050553 100644 --- a/policy-controller/k8s/status/src/index.rs +++ b/policy-controller/k8s/status/src/index.rs @@ -107,7 +107,7 @@ impl ControllerMetrics { pub fn register(prom: &mut Registry) -> Self { let patch_succeeded = Counter::default(); prom.register( - "patchs", + "patches", "Count of successful patch operations", patch_succeeded.clone(), );