Wilfred Spiegelenburg created YUNIKORN-590:
----------------------------------------------

             Summary: GetPlaceholderTimeoutParam: undefined param is not an 
error
                 Key: YUNIKORN-590
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-590
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: shim - kubernetes
    Affects Versions: 0.10
            Reporter: Wilfred Spiegelenburg


The {{GetPlaceholderTimeoutParam()}}  return an error when the 
{{schedulingPolicyParameters}} is not defined. There is no requirement to 
provide the scheduling policy parameter which means that the absence should not 
return an error. It should just {{return nil, nil}} like the other functions in 
utils.

After this fix the change for YUNIKORN-565 needs to be updated and converted 
into a real error log as it found the parameter but could not convert it. Just 
like we do for {{GetTaskGroupsFromAnnotation()}} in the same method in the 
general code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to