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:
parent
2148b3e2c2
commit
b4fd7286d0
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user