Wilfred Spiegelenburg created YUNIKORN-2537:
-----------------------------------------------
Summary: cleanup UpdateAllocation in callback
Key: YUNIKORN-2537
URL: https://issues.apache.org/jira/browse/YUNIKORN-2537
Project: Apache YuniKorn
Issue Type: Improvement
Components: shim - kubernetes
Reporter: Wilfred Spiegelenburg
UpdateAllocation needs a cleanup: {{getTask()}} already checks for the
application. No need to retrieve the application when we process response.New.
Sending an event should be linked to the existence of the task not of the
application.
On top of that we have the appID already in the task so we do not need to get
it from the app.
The same logic needs to be applied to the whole function, we already do it for
the release.* handling.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]