targetoee opened a new pull request, #708: URL: https://github.com/apache/yunikorn-core/pull/708
### What is this PR for? There're 2 defer function inside `checkLimits` ( `existedUserName` and `existedGroupName` ). These variables will be GC after the goroutine leaves the function. So it's safe to remove them. ### What type of PR is it? * [ ] - Bug Fix * [x] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### What is the Jira issue? [YUNIKORN-2137](https://issues.apache.org/jira/projects/YUNIKORN/issues/YUNIKORN-2137) ### How should this be tested? The unit tests have passed. -- 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]
