From 1e759446db226a8f3edde6d3b0c3952291136a32 Mon Sep 17 00:00:00 2001 From: Evangelos Skopelitis Date: Mon, 16 Dec 2024 17:28:34 -0500 Subject: [PATCH] frontend: KubeObject: Use apiName for resource name Signed-off-by: Evangelos Skopelitis --- frontend/src/lib/k8s/KubeObject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/k8s/KubeObject.ts b/frontend/src/lib/k8s/KubeObject.ts index 383870b6cb..38d7f857cd 100644 --- a/frontend/src/lib/k8s/KubeObject.ts +++ b/frontend/src/lib/k8s/KubeObject.ts @@ -508,7 +508,7 @@ export class KubeObject { }; if (!resourceAttrs.resource) { - resourceAttrs['resource'] = this.pluralName; + resourceAttrs['resource'] = this.apiName; } // @todo: We should get the API info from the API endpoint.