Skip to content

Commit f37866c

Browse files
committed
fix: set configuration service for default pool (#3535)
This is expected for a pool to set. Event if the underlying implementation would set it, this is the correct way to handle it. Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 388afa2 commit f37866c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ default boolean cloneSecondaryResourcesWhenGettingFromCache() {
516516
"Only the configuration API around informer pooling could still change in a"
517517
+ " non-backwards-compatible way, the pooling itself is prod ready.")
518518
default InformerPool informerPool() {
519-
return new DefaultInformerPool();
519+
var pool = new DefaultInformerPool();
520+
pool.setConfigurationService(this);
521+
return pool;
520522
}
521523
}

0 commit comments

Comments
 (0)