Skip to content

Commit 3d70ca4

Browse files
committed
fixing examples
1 parent 12cde05 commit 3d70ca4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/src/main/java/io/kubernetes/client/examples/Example.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException, ApiException{
3737
Configuration.setDefaultApiClient(client);
3838

3939
CoreV1Api api = new CoreV1Api();
40-
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null);
40+
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null);
4141
for (V1Pod item : list.getItems()) {
4242
System.out.println(item.getMetadata().getName());
4343
}

examples/src/main/java/io/kubernetes/client/examples/WatchExample.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void main(String[] args) throws IOException, ApiException{
3535

3636
Watch<V1Namespace> watch = Watch.createWatch(
3737
client,
38-
api.listNamespaceCall(null, null, null, null, 5, Boolean.TRUE, null, null),
38+
api.listNamespaceCall(null, null, null, null, null, 5, null, null, Boolean.TRUE, null, null),
3939
new TypeToken<Watch.Response<V1Namespace>>(){}.getType());
4040

4141
for (Watch.Response<V1Namespace> item : watch) {

0 commit comments

Comments
 (0)