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

Revert kube-api changes

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2021-02-16 10:45:24 +02:00
parent 2148b3e2c2
commit b4fd7286d0

View File

@ -229,9 +229,7 @@ export class KubeApi<T extends KubeObject = any> {
});
if (this.apiVersionPreferred) {
const apiBase = this.getUrl();
Object.defineProperty(this, "apiBase", { value: apiBase });
Object.defineProperty(this, "apiBase", { value: this.getUrl() });
apiManager.registerApi(this.apiBase, this);
}
}