From 5f0f47eb7411a011bf45ada4507eb76838058d7c Mon Sep 17 00:00:00 2001 From: Bruno Cornec Date: Mon, 6 Jun 2016 20:21:16 +0200 Subject: [PATCH] Fix JSON error in documentation Various JSON examples given using create_nonroot_volumes or create_nonroot_volumes had a wrong usage of the boolean value. Change-Id: I453321fe5abb6d94d5a076ca060858bd86909d91 Closes-Bug: 1589627 --- doc/source/deploy/cleaning.rst | 2 +- doc/source/deploy/raid.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/deploy/cleaning.rst b/doc/source/deploy/cleaning.rst index 53002752ca..121302a312 100644 --- a/doc/source/deploy/cleaning.rst +++ b/doc/source/deploy/cleaning.rst @@ -138,7 +138,7 @@ An example of the request body for this API:: "clean_steps": [{ "interface": "raid", "step": "create_configuration", - "args": {"create_nonroot_volumes": "False"} + "args": {"create_nonroot_volumes": false} }, { "interface": "deploy", diff --git a/doc/source/deploy/raid.rst b/doc/source/deploy/raid.rst index 54c5b069bd..a07d935aac 100644 --- a/doc/source/deploy/raid.rst +++ b/doc/source/deploy/raid.rst @@ -205,7 +205,7 @@ HDD:: "raid_level": "1+0", "controller": "RAID.Integrated.1-1", "volume_name": "root_volume", - "is_root_volume": "true", + "is_root_volume": true, "physical_disks": [ "Disk.Bay.0:Encl.Int.0-1:RAID.Integrated.1-1", "Disk.Bay.1:Encl.Int.0-1:RAID.Integrated.1-1"