Skip to content

Commit

Permalink
style: apply field name changes
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S <the@wondersmith.dev>
  • Loading branch information
the-wondersmith committed May 10, 2024
1 parent b6805da commit de75f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy-controller/k8s/index/src/inbound/index/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl Collector for Instrumented {
)?;
for (ns, index) in &this.namespaces.by_ns {
let labels = [("namespace", ns.as_str())];
let http_routes = ConstGauge::new(index.policy.http_routes.len() as u32);
let http_routes = ConstGauge::new(index.policy.routes.len() as u32);
let http_routes_encoder = http_routes_encoder.encode_family(&labels)?;
http_routes.encode(http_routes_encoder)?;
}
Expand Down

0 comments on commit de75f95

Please sign in to comment.