chia7712 commented on code in PR #763:
URL: https://github.com/apache/yunikorn-core/pull/763#discussion_r1439053430


##########
pkg/common/configs/configvalidator.go:
##########
@@ -706,7 +728,7 @@ func checkQueuesStructure(partition *PartitionConfig) error 
{
        if rootQueue.Resources.Guaranteed != nil || rootQueue.Resources.Max != 
nil {
                return fmt.Errorf("root queue must not have resource limits 
set")
        }
-       return checkQueues(&rootQueue, 1)
+       return nil

Review Comment:
   ok, you want to the root queue gets all fixes (limits and inserts) before 
calling `checkQueues`.
   
   for another, you change the behavior or `checkQueuesStructure` without 
changing test-related code. It seems `checkQueuesStructure` has no tests, 
right? If so, could you file jira to complete units for each `checkXXX`



-- 
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