Remove Optional
to Access Results in ManagedDependentResourceContext
#1925
Labels
Milestone
https://github.com/java-operator-sdk/java-operator-sdk/blob/3280f69dbe85cf3baeb268de6f095c1ab3721498/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/dependent/managed/ManagedDependentResourceContext.java#L55-L57
Those does not make that much sense, since naturally these methods are only called when managed dependent resources are used. And this is not a decision for runtime. It should just throw an exception if these results are accessed but managed dependent resources are not initialized.
The text was updated successfully, but these errors were encountered: