Fix typo 'mesoscluster' to 'mesos-cluster'

Change-Id: I026a5b06012a1909e2006b811ad1017e7ae28d14
This commit is contained in:
yatinkarel 2016-09-27 14:27:47 +05:30
parent 52258c3b96
commit 5dae4c54cb
1 changed files with 2 additions and 2 deletions

View File

@ -1409,7 +1409,7 @@ For example, you can 'post' a JSON app description to
"cmd": "while sleep 10; do date -u +%T; done"
}
END
$ API_ADDRESS=$(magnum cluster-show mesoscluster | awk '/ api_address /{print $4}')
$ API_ADDRESS=$(magnum cluster-show mesos-cluster | awk '/ api_address /{print $4}')
$ curl -X POST -H "Content-Type: application/json" \
http://${API_ADDRESS}:8080/v2/apps -d@app.json
@ -2362,7 +2362,7 @@ the cinder volume in the json file ::
4. Create the container using Marathon REST API ::
MASTER_IP=$(magnum cluster-show mesoscluster | awk '/ api_address /{print $4}')
MASTER_IP=$(magnum cluster-show mesos-cluster | awk '/ api_address /{print $4}')
curl -X POST -H "Content-Type: application/json" \
http://${MASTER_IP}:8080/v2/apps -d@mesos.json