[Kimchi-devel] [PATCH v2] Fix break of deep scanning

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Tue Jan 14 08:01:46 UTC 2014


on 2014/01/13 23:53, Daniel Barboza wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
> 
> Commit 265de8d7 forgot to add type 'kimchi-iso' to storage pool
> type, which prevents deep scannning to execute.
> Add it to API.json to fix this break.
> 
> Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
> Signed-off-by: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
> ---
>  src/kimchi/API.json | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/kimchi/API.json b/src/kimchi/API.json
> index 19b1c51..3281d2e 100644
> --- a/src/kimchi/API.json
> +++ b/src/kimchi/API.json
> @@ -16,7 +16,7 @@
>                  "type": {
>                      "description": "The type of the defined Storage Pool",
>                      "type": "string",
> -                    "pattern": "^dir|netfs|logical$",
> +                    "pattern": "^dir|netfs|logical|kimchi-iso$",
>                      "required": true
>                  },
>                  "path": {
> 

When I wrote 265de8d7, I read some code to determine if I should add
kimchi-iso to the pattern. I thought it was a special case of dir pool.
It proves me wrong. Sorry.

-- 
Thanks and best regards!

Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou at linux.vnet.ibm.com
Telephone: 86-10-82454397




More information about the Kimchi-devel mailing list