Remove commented code.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2021-10-21 14:33:59 +03:00
1 parent 62b14ae378
commit 93a7a8382c
1 file changed
-2
-2
View File
@@ -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;