mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
parent
62b14ae378
commit
93a7a8382c
@ -133,8 +133,6 @@ export function forCluster<T extends KubeObject>(cluster: ILocalKubeApiConfig, k
|
||||
});
|
||||
}
|
||||
|
||||
// const getToken = (token: string | (() => Promise<string>)) => isFunction(token) ? token() : token;
|
||||
|
||||
export function forRemoteCluster<T extends KubeObject>(config: IRemoteKubeApiConfig, kubeClass: KubeObjectConstructor<T>): KubeApi<T> {
|
||||
const reqInit: RequestInit = {};
|
||||
const token = config.user.token;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user