Should this be working in mesos 1.8?

[@m01 ~]# curl --user test:xxxxxxxxx -X POST \
>   https://m01.local:5050/api/v1 \
>   --cacert /etc/pki/ca-trust/source/ca.crt \
>   -H 'Accept: application/json' \
>   -H 'content-type: application/json' -d '{
>   "type": "DRAIN_AGENT",
>   "drain_agent": {"agent_id": {
>     "value":"53336fcb-7756-4673-b9c7-177e04f34c3b-S1"
>   }}}'

Failed to validate master::Call: Expecting 'type' to be present

Reply via email to