Skip to content

Commit 5b8c30d

Browse files
committed
Make watch path match listFn
1 parent 598796f commit 5b8c30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cache-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kc.loadFromDefault();
55

66
const k8sApi = kc.makeApiClient(k8s.CoreV1Api);
77

8-
const path = '/api/v1/namespaces/default/pods';
8+
const path = '/api/v1/pods';
99
const watch = new k8s.Watch(kc);
1010

1111
const listFn = () => k8sApi.listPodForAllNamespaces()

0 commit comments

Comments
 (0)