Skip to content

Commit

Permalink
frontend: KubeObject: Use apiName for resource name
Browse files Browse the repository at this point in the history
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
  • Loading branch information
skoeva committed Dec 16, 2024
1 parent 573443c commit 1e75944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/k8s/KubeObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class KubeObject<T extends KubeObjectInterface | KubeEvent = any> {
};

if (!resourceAttrs.resource) {
resourceAttrs['resource'] = this.pluralName;
resourceAttrs['resource'] = this.apiName;
}

// @todo: We should get the API info from the API endpoint.
Expand Down

0 comments on commit 1e75944

Please sign in to comment.