From f82ef4494cfd353d72e69db8bfde1208eddb135d Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Wed, 1 May 2024 10:25:21 -0700 Subject: [PATCH] fix(policy)!: Rename "patchs" metric to "patches" (#12533) 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 841731c3a..8b45d5c05 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(), );