We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a145204 + 6041de7 commit 6bc1880Copy full SHA for 6bc1880
extended/src/main/java/io/kubernetes/client/extended/controller/builder/DefaultControllerBuilder.java
@@ -104,6 +104,9 @@ public DefaultControllerBuilder withName(String controllerName) {
104
* @return the controller builder
105
*/
106
public DefaultControllerBuilder withWorkQueue(RateLimitingQueue<Request> workQueue) {
107
+ if (this.workQueue != null && !this.workQueue.isShuttingDown()){
108
+ this.workQueue.shutDown();
109
+ }
110
this.workQueue = workQueue;
111
return this;
112
}
0 commit comments