Michael Pasternak has uploaded a new change for review.

Change subject: restapi: fix /Disk backward compatibility issue
......................................................................

restapi: fix /Disk backward compatibility issue

removing /type element from disk will cause
backward compatibility issue between 3.0 & 3.1

Change-Id: I938ecd2d09195c8bbba4964a708f3a73e1534bfe
Signed-off-by: Michael Pasternak <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/21/7521/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 5b3a5c0..72d0c97 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
@@ -2145,6 +2145,7 @@
           <xs:element name="image_id" type="xs:string" minOccurs="0" 
maxOccurs="1"/>
           <xs:element ref="storage_domains" minOccurs="0" maxOccurs="1"/>
           <xs:element name="size" type="xs:long" minOccurs="0"/> <!-- 
Deprecated, replaced by 'provisioned_size' -->
+          <xs:element name="type" type="xs:string" minOccurs="0"/> <!-- 
Deprecated, will be removed at 4.0 -->
           <xs:element name="provisioned_size" type="xs:long" minOccurs="0"/>
           <xs:element name="actual_size" type="xs:long" minOccurs="0"/>
           <xs:element ref="status" minOccurs="0" maxOccurs="1"/>


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

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

Reply via email to