File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const k8s = require('@kubernetes/client-node');
30
30
const kc = new k8s.KubeConfig ();
31
31
kc .loadFromDefault ();
32
32
33
- const k8sApi = kc .makeApiClient (k8s .Core_v1Api );
33
+ const k8sApi = kc .makeApiClient (k8s .CoreV1Api );
34
34
35
35
k8sApi .listNamespacedPod (' default' ).then ((res ) => {
36
36
console .log (res .body );
@@ -45,7 +45,7 @@ const k8s = require('@kubernetes/client-node');
45
45
const kc = new k8s.KubeConfig ();
46
46
kc .loadFromDefault ();
47
47
48
- const k8sApi = kc .makeApiClient (k8s .Core_v1Api );
48
+ const k8sApi = kc .makeApiClient (k8s .CoreV1Api );
49
49
50
50
var namespace = {
51
51
metadata: {
@@ -95,7 +95,7 @@ kc.loadFromOptions({
95
95
contexts: [context],
96
96
currentContext: context .name ,
97
97
});
98
- const k8sApi = kc .makeApiClient (k8s .Core_v1Api );
98
+ const k8sApi = kc .makeApiClient (k8s .CoreV1Api );
99
99
...
100
100
```
101
101
You can’t perform that action at this time.
0 commit comments