mirror of https://github.com/linkerd/linkerd2.git
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:
parent
d440feed95
commit
f82ef4494c
|
|
@ -107,7 +107,7 @@ impl ControllerMetrics {
|
||||||
pub fn register(prom: &mut Registry) -> Self {
|
pub fn register(prom: &mut Registry) -> Self {
|
||||||
let patch_succeeded = Counter::default();
|
let patch_succeeded = Counter::default();
|
||||||
prom.register(
|
prom.register(
|
||||||
"patchs",
|
"patches",
|
||||||
"Count of successful patch operations",
|
"Count of successful patch operations",
|
||||||
patch_succeeded.clone(),
|
patch_succeeded.clone(),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue