Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2185

application: rewrite if-else to switch statement

    XMLWordPrintableJSON

Details

    Description

      pkg/scheduler/objects/application.go:1691:2: ifElseChain: rewrite if-else to switch statement (gocritic)
          if info.IsPreempted() {
          ^ 

      Attachments

        Issue Links

          Activity

            People

              targetoee JiaChi Wang
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: