Ravi Nori has uploaded a new change for review.

Change subject: restapi : Using true as a default for boolean flags(#1006918)
......................................................................

restapi : Using true as a default for boolean flags(#1006918)

If boolean values are not provided a value
in cli they should use True by default.

Change-Id: I823d4cbaa22cabe2c73b64be17dfe70233f7cd01
Bug-Url: https://bugzilla.redhat.com/1006918
Signed-off-by: Ravi Nori <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/05/20805/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
index 568759d..c271170 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
@@ -172,7 +172,7 @@
       <!-- A VM can be started paused -->
       <xs:element name="pause" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
       <!-- should migration be forced if VM is pinned to host? -->
-      <xs:element name="force" type="xs:boolean" minOccurs="0"/>
+      <xs:element name="force" type="xs:boolean" minOccurs="0" default="true" 
/>
       <!-- For gluster volume set/reset option action -->
       <xs:element name="option" type="Option" minOccurs="0"/>
       <!-- In gluster volume rebalance action, should only fix-layout be 
performed -->


-- 
To view, visit http://gerrit.ovirt.org/20805
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I823d4cbaa22cabe2c73b64be17dfe70233f7cd01
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to