When creating a new storage volume for upload, we may not know the
right format for it. So let it empty and then libvirt will update it
accordindly.
Signed-off-by: Aline Manera <alinefm(a)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 a6330ae..d92ae9b 100644
--- a/src/kimchi/API.json
+++ b/src/kimchi/API.json
@@ -216,7 +216,7 @@
"format": {
"description": "The format of the volume",
"type": "string",
- "pattern":
"^(bochs|cloop|cow|dmg|qcow|qcow2|qed|raw|vmdk|vpc)$",
+ "pattern":
"^(|bochs|cloop|cow|dmg|qcow|qcow2|qed|raw|vmdk|vpc)$",
"error": "KCHVOL0015E"
},
"url": {
--
2.1.0