Let the code in the json file be displayed

https://docs.openstack.org/sahara/latest/user/edp.html
cannot show the code clear, this patch fix that issue.

Change-Id: Ie4f8add7e464c454c41d6c4084ec64d6b7cca3ee
This commit is contained in:
hejunli 2021-12-30 19:47:28 +08:00
parent c4f4d29847
commit e9e50bede6
1 changed files with 3 additions and 3 deletions

View File

@ -332,7 +332,7 @@ A "Description" field may also be added to each interface argument.
To create such an interface via the REST API, provide an "interface" argument, To create such an interface via the REST API, provide an "interface" argument,
the value of which consists of a list of JSON objects, as below: the value of which consists of a list of JSON objects, as below:
.. sourcecode:: json .. code-block::
[ [
{ {
@ -349,7 +349,7 @@ the value of which consists of a list of JSON objects, as below:
Creating this interface would allow you to specify a configuration for any Creating this interface would allow you to specify a configuration for any
execution of the job template by passing an "interface" map similar to: execution of the job template by passing an "interface" map similar to:
.. sourcecode:: json .. code-block::
{ {
"Rows": "1000000", "Rows": "1000000",
@ -361,7 +361,7 @@ The specified arguments would be automatically placed into the args, configs,
and params for the job, according to the mapping type and location fields of and params for the job, according to the mapping type and location fields of
each interface argument. The final ``job_configs`` map would be: each interface argument. The final ``job_configs`` map would be:
.. sourcecode:: json .. code-block::
{ {
"job_configs": { "job_configs": {