Skip to content

Commit ed8a59c

Browse files
author
Dave Syer
committed
Cast to Runnable to avoid compiler error
Signed-off-by: Dave Syer <[email protected]>
1 parent e19a0ec commit ed8a59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public synchronized void startAllRegisteredInformers() {
287287
informers.forEach(
288288
(informerType, informer) ->
289289
startedInformers.computeIfAbsent(
290-
informerType, key -> informerExecutor.submit(informer::run)));
290+
informerType, key -> informerExecutor.submit((Runnable) informer::run)));
291291
}
292292

293293
/** Stop all registered informers and shut down the thread pool. */

0 commit comments

Comments
 (0)