[ https://issues.apache.org/jira/browse/MESOS-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041484#comment-15041484 ]
Alexander Rukletsov commented on MESOS-3965: -------------------------------------------- Why not use validation for {{QuotaInfo}} instead? Or do you mean we should leverage existing {{internal::master::quota::validation::quotaInfo()}} to ensure {{Quota.QuotaInfo}} is always valid? > Ensure resources in `QuotaInfo` protobuf do not contain `role` > -------------------------------------------------------------- > > Key: MESOS-3965 > URL: https://issues.apache.org/jira/browse/MESOS-3965 > Project: Mesos > Issue Type: Bug > Components: master > Reporter: Alexander Rukletsov > Assignee: Alexander Rukletsov > Labels: mesosphere > > {{QuotaInfo}} protobuf currently stores per-role quotas, including > {{Resource}} objects. These resources are neither statically nor dynamically > reserved, hence they may not contain {{role}} field. We should ensure this > field is unset, as well as update validation routine for {{QuotaInfo}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)