[
https://issues.apache.org/jira/browse/MESOS-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306767#comment-15306767
]
Anand Mazumdar commented on MESOS-5496:
---------------------------------------
[~dongdong] The {{Response}} protobuf message is different than the {{struct
Response}} type in libprocess. We currently don't have a generic {{Error}} type
for representing errors in our protobuf's. (MESOS-5363)
For now, just invoke: {{return BadRequest("Some Error")}}, {{return
Forbidden()}} etc similar to other examples in {{src/master/http.cpp}}
> Implement UPDATE_WEIGHTS Call in v1 master API.
> -----------------------------------------------
>
> Key: MESOS-5496
> URL: https://issues.apache.org/jira/browse/MESOS-5496
> Project: Mesos
> Issue Type: Task
> Reporter: Vinod Kone
> Assignee: zhou xing
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)