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 <the@wondersmith.dev>
This commit is contained in:
Oliver Gould 2024-05-01 10:25:21 -07:00 committed by GitHub
parent d440feed95
commit f82ef4494c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
);