[ https://issues.apache.org/jira/browse/YUNIKORN-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hsien-Cheng Huang reassigned YUNIKORN-2482: ------------------------------------------- Assignee: Hsien-Cheng Huang > Failure to set template does not return error > --------------------------------------------- > > Key: YUNIKORN-2482 > URL: https://issues.apache.org/jira/browse/YUNIKORN-2482 > Project: Apache YuniKorn > Issue Type: Bug > Components: core - scheduler > Reporter: Wilfred Spiegelenburg > Assignee: Hsien-Cheng Huang > Priority: Major > Labels: newbie > > 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() > {code:java} > if !sq.isLeaf { > if err = sq.setTemplate(conf.ChildTemplate); err != nil { > return nil > } > } {code} > Need to add tests to make sure we do not regress. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org