From 195b326e617ea0831bf47c8b613c7c4045493d7e Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 15 Jan 2020 16:12:50 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/index.ts b/ts/index.ts index 383c74b..4a92275 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -3,8 +3,8 @@ import * as plugins from './kubernetes.plugins'; const kc = new plugins.kubectl.KubeConfig(); kc.loadFromDefault(); -const k8sApi = kc.makeApiClient(k8s.CoreV1Api); +const k8sApi = kc.makeApiClient(plugins.kubectl.CoreV1Api); k8sApi.listNamespacedPod('default').then((res) => { console.log(res.body); -}); \ No newline at end of file +});