Skip to content

Commit ecde2f8

Browse files
committed
Fix a typo.
1 parent 435c836 commit ecde2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-client/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export class Config {
329329
const kc = new KubeConfig();
330330
kc.loadFromCluster();
331331

332-
const k8sApi = new client.Core_v1Api(kc.getCurrentCluster().server);
332+
const k8sApi = new api.Core_v1Api(kc.getCurrentCluster().server);
333333
k8sApi.setDefaultAuthentication(kc);
334334

335335
return k8sApi;

0 commit comments

Comments
 (0)