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

Failure to set template does not return error

    XMLWordPrintableJSON

Details

    Description

      The update of setting a template on a parent could fail if the template is not correct. The error is swallowed and a success is returned but the update of the queue has not finished correctly:
      *Queue.applyConf()

      if !sq.isLeaf {
          if err = sq.setTemplate(conf.ChildTemplate); err != nil {
             return nil
          }
      } 

      Need to add tests to make sure we do not regress.

      Attachments

        Issue Links

          Activity

            People

              ryankert Hsien-Cheng(Ryan) Huang
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: