Skip to content

Commit 47f1bf4

Browse files
authored
Merge pull request #2140 from BassT/patch-3
Update README.md
2 parents c259450 + 57b1090 commit 47f1bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ kc.loadFromDefault();
2929

3030
const k8sApi = kc.makeApiClient(k8s.CoreV1Api);
3131

32-
k8sApi.listNamespacedPod('default').then((res) => {
33-
console.log(res.body);
32+
k8sApi.listNamespacedPod({ namespace: 'default' }).then((res) => {
33+
console.log(res);
3434
});
3535
```
3636

0 commit comments

Comments
 (0)