mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haosdent <haosd...@gmail.com>
Subject [HTTP API] Should we remove the the duplicate GET_WEIGHTS in Operator APIs
Date Fri, 24 Jun 2016 03:16:53 GMT
Hi, @adam @vinodkone @yongqiao @zhouxin When we document the GET_ROLES and
GET_WEIGHTS Operator APIs in this patch
https://reviews.apache.org/r/49157/#comment204491 , we notice that
there are duplicated information between GET_ROLES and GET_WEIGHTS. Both of
them can return the roles and their weights expect GET_ROLES returns more
information and GET_WEIGHTS has more exactly permissions check.

So seems  GET_WEIGHTS is not necessary because we could get the
corresponding information from GET_ROLES, do you think we should
remove GET_WEIGHTS in Operator APIs?

-- 
Best Regards,
Haosdent Huang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message