Skip to content

Remove Optional to Access Results in ManagedDependentResourceContext #1925

Closed

Description

@csviri

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.

Activity

  1. added this to the 5.0 milestone on May 30, 2023
  2. github-actions commented on Jul 30, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  3. github-actions commented on Sep 29, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  4. github-actions commented on Dec 2, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions