Skip to content

Commit d88f641

Browse files
committed
Update Watch to implement Closeable
1 parent 32284a2 commit d88f641

File tree

1 file changed

+2
-1
lines changed
  • util/src/main/java/io/kubernetes/client/util

1 file changed

+2
-1
lines changed

util/src/main/java/io/kubernetes/client/util/Watch.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
* set watch to True and watch the changes to namespaces.
3232
*/
3333
public class Watch<T> implements Iterable<Watch.Response<T>>,
34-
Iterator<Watch.Response<T>> {
34+
Iterator<Watch.Response<T>>,
35+
java.io.Closeable {
3536

3637
/**
3738
* Response class holds a watch response that has a `type` that can be

0 commit comments

Comments
 (0)