[ 
https://issues.apache.org/jira/browse/YUNIKORN-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Wang closed YUNIKORN-1667.
------------------------------
    Resolution: Not A Bug

In line 123 it calls function 'UpdateApplication', but in line 161 it's 
function 'UpdateAllocation'.

> Duplicated code
> ---------------
>
>                 Key: YUNIKORN-1667
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1667
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Ian Wang
>            Assignee: Ian Wang
>            Priority: Minor
>              Labels: duplicate,method
>
> There is a block of duplicated code 
> [Here|https://github.com/apache/yunikorn-core/blob/master/pkg/rmproxy/rmproxy.go]
>  from line 122 to 129, because there's already a function called 
> 'triggerUpdateAllocation' do the same thing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to