mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix the broken ingress metrics, the namespace is needed in the opts.
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com>
This commit is contained in:
parent
d975a19e7b
commit
86b7f093cc
@ -30,7 +30,7 @@ export class IngressApi extends KubeApi<Ingress> {
|
||||
}
|
||||
|
||||
export function getMetricsForIngress(ingress: string, namespace: string): Promise<IIngressMetrics> {
|
||||
const opts = { category: "ingress", ingress };
|
||||
const opts = { category: "ingress", ingress, namespace };
|
||||
|
||||
return metricsApi.getMetrics({
|
||||
bytesSentSuccess: opts,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user