Skip to content

Commit d7fa4c2

Browse files
committed
fix fabric8io#3278: should not allow wait at a list context
1 parent 64dce1f commit d7fa4c2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Fix #3272: prevent index npe after informer sees an empty list
1919
* Fix #3275: filter related dsl methods withLabel, withField, etc. should not modify the current context. If you need similar behavior to the previous use `Filterable.withNewFilter`.
2020
* Fix #3271: waitUntilReady and waitUntilCondition should handle resource too old
21+
* Fix #3278: `Waitable` methods should not be available at a list context
2122

2223
#### Improvements
2324
* Fix #3078: adding javadocs to further clarify patch, edit, replace, etc. and note the possibility of items being modified.

kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/WatchListDeletable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
import io.fabric8.kubernetes.client.GracePeriodConfigurable;
1919
import io.fabric8.kubernetes.client.PropagationPolicyConfigurable;
20+
import io.fabric8.kubernetes.client.Watcher;
2021

21-
public interface WatchListDeletable<T, L> extends VersionWatchAndWaitable<T>, Listable<L>, Deletable,
22+
public interface WatchListDeletable<T, L> extends Watchable<Watcher<T>>, Versionable<WatchAndWaitable<T>>, Listable<L>, Deletable,
2223
GracePeriodConfigurable<Deletable>,
2324
PropagationPolicyConfigurable<EditReplacePatchDeletable<T>>,
2425
StatusUpdatable<T>,

0 commit comments

Comments
 (0)