This is an automated email from the ASF dual-hosted git repository. bbannier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 901cc9c572633c59b3130a8794ea4161b1720ba0 Author: Benjamin Bannier <[email protected]> AuthorDate: Fri Nov 29 08:49:34 2019 +0100 Used post-reservation refinement format in some operator API docs. Review: https://reviews.apache.org/r/71739/ --- docs/operator-http-api.md | 52 +++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/docs/operator-http-api.md b/docs/operator-http-api.md index 6cc367d..1b15fad 100644 --- a/docs/operator-http-api.md +++ b/docs/operator-http-api.md @@ -1888,24 +1888,30 @@ Accept: application/json { "type": "SCALAR", "name": "cpus", - "reservation": { - "principal": "my-principal" - }, - "role": "role", "scalar": { "value": 1.0 - } + }, + "reservations": [ + { + "type": "DYNAMIC", + "role": "role", + "principal": "my-principal" + } + ] }, { "type": "SCALAR", "name": "mem", - "reservation": { - "principal": "my-principal" - }, - "role": "role", "scalar": { "value": 512.0 - } + }, + "reservations": [ + { + "type": "DYNAMIC", + "role": "role", + "principal": "my-principal" + } + ] } ] } @@ -1942,24 +1948,30 @@ Accept: application/json { "type": "SCALAR", "name": "cpus", - "reservation": { - "principal": "my-principal" - }, - "role": "role", "scalar": { "value": 1.0 - } + }, + "reservations": [ + { + "type": "DYNAMIC", + "role": "role", + "principal": "my-principal" + } + ] }, { "type": "SCALAR", "name": "mem", - "reservation": { - "principal": "my-principal" - }, - "role": "role", "scalar": { "value": 512.0 - } + }, + "reservations": [ + { + "type": "DYNAMIC", + "role": "role", + "principal": "my-principal" + } + ] } ] }
