[
https://issues.apache.org/jira/browse/YUNIKORN-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Lin reassigned YUNIKORN-2537:
---------------------------------
Assignee: Ted Lin
> 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
> Assignee: Ted Lin
> Priority: Major
>
> 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]