manirajv06 commented on a change in pull request #216:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/216#discussion_r510261614



##########
File path: pkg/webservice/dao/partition_info.go
##########
@@ -24,12 +24,29 @@ type PartitionDAOInfo struct {
        Queues        QueueDAOInfo      `json:"queues"`
 }
 
+type PartitionInfo struct {
+       Name                    string            `json:"name"`
+       Capacity                PartitionCapacity `json:"capacity"`

Review comment:
       As and when any new node gets added, Node's total resource would get 
added to this capacity. Similarly, for node removal resource would be 
subtracted from this capacity.




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

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


Reply via email to