Merge pull request #21188 from aregnier42/patch-1
Fixed number of parameters in api.listPodForAllNamespaces and minor typopull/21491/head
commit
cd2ed3784e
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue