This is an automated email from the ASF dual-hosted git repository. mzhu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 1186df321ffae1272cfaf1d5f539c9305777defe Author: Meng Zhu <[email protected]> AuthorDate: Tue Jul 30 17:21:10 2019 -0700 Updated operator HTTP API documentation regarding `GET_QUOTA`. The deprecated guarantee, principal and role fields are now hidden. Review: https://reviews.apache.org/r/71212 --- docs/operator-http-api.md | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/operator-http-api.md b/docs/operator-http-api.md index ddf29e9..7aaeff3 100644 --- a/docs/operator-http-api.md +++ b/docs/operator-http-api.md @@ -2423,26 +2423,27 @@ Content-Type: application/json "status": { "infos": [ { - "guarantee": [ + "configs" : [ { - "name": "cpus", - "role": "*", - "scalar": { - "value": 1.0 - }, - "type": "SCALAR" - }, - { - "name": "mem", - "role": "*", - "scalar": { - "value": 512.0 + "role": "dev", + "guarantees": { + "cpus": { + "value": 1.0 + }, + "mem": { + "value": 1024.0 + } }, - "type": "SCALAR" + "limits": { + "cpus": { + "value": 2.0 + }, + "mem": { + "value": 2048.0 + } + } } - ], - "principal": "my-principal", - "role": "role1" + ] } ] }
