blueBlue0102 opened a new pull request, #949:
URL: https://github.com/apache/yunikorn-core/pull/949

   ### What is this PR for?
   Refactor the `SubOnlyExisting` function to match the signature of the 
`AddOnlyExisting` function.
   This change will ensure both functions operate consistently by taking two 
resource objects and returning a new one, eliminating the need for cloning 
before calling the method within a locked resource object.
   
   ### What type of PR is it?
   * [x] - Refactoring
   
   ### What is the Jira issue?
   [YUNIKORN-2794](https://issues.apache.org/jira/browse/YUNIKORN-2794)
   
   ### How should this be tested?
   This has already passed the CI tests on [my forked 
repo](https://github.com/blueBlue0102/yunikorn-core/actions/runs/10433583568)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to