Fix JsonFilter query hint examples in docs

The API reference and part of the scheduler filter docs for
the JsonFilter query hint are using invalid json strings
in the examples.

This fixes both invalid locations using the same json string
used in the openstack server create command example in the
scheduler admin docs.

Change-Id: Iaab8608c7ffa6fbbea40a838dd02d8096f632f7a
Closes-Bug: #1821764
This commit is contained in:
Matt Riedemann 2019-03-26 11:37:27 -04:00
parent 358776a303
commit 45cecbb427
2 changed files with 2 additions and 2 deletions

View File

@ -5182,7 +5182,7 @@ os:scheduler_hints_query:
Schedule the server by using a custom filter in JSON format.
For example::
"query": "[>=,$free_ram_mb,1024]"
"query": "[\">=\",\"$free_ram_mb\",1024]"
It is available when ``JsonFilter`` is available on cloud side.
in: body

View File

@ -601,7 +601,7 @@ With the API, use the ``os:scheduler_hints`` key:
"flavorRef": "1"
},
"os:scheduler_hints": {
"query": "[>=,$free_ram_mb,1024]"
"query": "[\">=\",\"$free_ram_mb\",1024]"
}
}