Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-60601

Code consolidation on the action provider hooks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Some of our comments are not structured similarly, we should follow the same structure and reduce unnecessary info. We also tend to type/cast differently - K8sModel/K8sKind (e.g.   accessReview: asAccessReview(kind as K8sModel, resource as K8sResourceKind, 'delete')). We should also revisit the undefined parameters type checking (currently in place for useCommonActions), if its also needed in other hooks or if its not needed at all. 

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-mziska Marek Ziska (Inactive)
              rh-ee-mziska Marek Ziska (Inactive)
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: