manirajv06 commented on a change in pull request #216:
URL:
https://github.com/apache/incubator-yunikorn-core/pull/216#discussion_r566830358
##########
File path: pkg/webservice/dao/partition_info.go
##########
@@ -35,18 +35,10 @@ type PartitionInfo struct {
type PartitionCapacity struct {
Capacity string `json:"capacity"`
- UsedCapacity string `json:"usedCapacity"`
+ UsedCapacity string `json:"usedcapacity"`
Review comment:
Renaming as before because
1. This change should not break the existing use cases.
2. No backward compatibility support
Once new API has been adopted completely, we can do the naming with similar
convention.
----------------------------------------------------------------
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]