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

Sheldon shaohef at linux.vnet.ibm.com
Wed May 28 09:04:24 UTC 2014


Just a minor inline comment below

On 05/28/2014 04:20 PM, lvroyce at linux.vnet.ibm.com wrote:
> 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"
does this base on your [PATCHv3] Exception: fix exception details when 
not specified ?
so whatever error, it will always report KCHPOOL0018.
>                   }
>               }
>           },


-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list