From 5530b6eaf820a9eb85cf8e3f72bf015457029c7c Mon Sep 17 00:00:00 2001 From: aregnier42 <1929487+aregnier42@users.noreply.github.com> Date: Mon, 25 May 2020 18:59:05 +0200 Subject: [PATCH] Fixed number of null parameters in api.listPodForAllNamespaces and minor typo --- .../en/docs/tasks/administer-cluster/access-cluster-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/administer-cluster/access-cluster-api.md b/content/en/docs/tasks/administer-cluster/access-cluster-api.md index 5aa79d4406..520dd949cd 100644 --- a/content/en/docs/tasks/administer-cluster/access-cluster-api.md +++ b/content/en/docs/tasks/administer-cluster/access-cluster-api.md @@ -269,8 +269,8 @@ public class KubeConfigFileClientExample { CoreV1Api api = new CoreV1Api(); // invokes the CoreV1Api client - V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null); - System.out.Println("Listing all pods: "); + V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null); + System.out.println("Listing all pods: "); for (V1Pod item : list.getItems()) { System.out.println(item.getMetadata().getName()); }