[Kimchi-devel] [PATCHv2 2/2] StoragePool Edit: Update json schema

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Sun May 4 10:13:13 UTC 2014


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

Update json schema to return proper error when empty disk string
is passed.

Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
 src/kimchi/API.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/kimchi/API.json b/src/kimchi/API.json
index 38e9607..b6ddc0f 100644
--- a/src/kimchi/API.json
+++ b/src/kimchi/API.json
@@ -139,7 +139,8 @@
                     "type": "array",
                     "items": { "type": "string" },
                     "minItems": 1,
-                    "uniqueItems": true
+                    "uniqueItems": true,
+                    "error": "KCHPOOL0018E"
                 }
             }
         },
-- 
1.8.3.2




More information about the Kimchi-devel mailing list