1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Changing type from GeneralEntity to General

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-06-18 15:07:59 +03:00
parent de9885a666
commit 6f0d2279dc

View File

@ -29,7 +29,7 @@ type GeneralEntitySpec = {
export class GeneralEntity extends CatalogEntity<CatalogEntityMetadata, CatalogEntityStatus, GeneralEntitySpec> { export class GeneralEntity extends CatalogEntity<CatalogEntityMetadata, CatalogEntityStatus, GeneralEntitySpec> {
public readonly apiVersion = "entity.k8slens.dev/v1alpha1"; public readonly apiVersion = "entity.k8slens.dev/v1alpha1";
public readonly kind = "GeneralEntity"; public readonly kind = "General";
async onRun() { async onRun() {
navigate(this.spec.path); navigate(this.spec.path);
@ -64,7 +64,7 @@ export class GeneralCategory extends CatalogCategory {
} }
], ],
names: { names: {
kind: "GeneralEntity" kind: "General"
} }
}; };
} }