@@ -64,7 +64,7 @@ public boolean hasNamespace() {
6464 }
6565
6666 public void createNamespace () {
67- Resource <Namespace , DoneableNamespace > resource = client .namespaces ().withName (option .getNamespace ());
67+ Resource <Namespace > resource = client .namespaces ().withName (option .getNamespace ());
6868 Namespace namespace = resource .get ();
6969 if (Objects .isNull (namespace )) {
7070 Namespace built = new NamespaceBuilder ()
@@ -264,8 +264,7 @@ public void pull(String image, int timeoutInSeconds, Consumer<String> progress)
264264 }
265265
266266 private List <Pod > listPods (String name , String status ) {
267- NonNamespaceOperation <Pod , PodList , DoneablePod , PodResource <Pod , DoneablePod >> operation = client .pods ()
268- .inNamespace (option .getNamespace ());
267+ NonNamespaceOperation <Pod , PodList , PodResource <Pod >> operation = client .pods ().inNamespace (option .getNamespace ());
269268
270269 if (StringHelper .hasValue (name )) {
271270 if (name .endsWith ("*" )) {
@@ -282,7 +281,7 @@ private List<Pod> listPods(String name, String status) {
282281 return operation .list ().getItems ();
283282 }
284283
285- private PodResource <Pod , DoneablePod > podResource (String name ) {
284+ private PodResource <Pod > podResource (String name ) {
286285 return client .pods ()
287286 .inNamespace (option .getNamespace ())
288287 .withName (name );
0 commit comments