Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Make statistic detail optional
......................................................................

restapi: Make statistic detail optional

The "detail" element of statistics is already optional, but this isn't
correctly specified in the XML schema.

Change-Id: I62eb04ce2d9fbb0dd7201e94777511ac21050ee5
Bug-Url: https://bugzilla.redhat.com/1211050
Signed-off-by: Juan Hernandez <[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/91/39791/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 041b421..4bc0a7f 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
@@ -393,7 +393,7 @@
   <xs:complexType name="Value">
     <xs:sequence>
       <xs:element name="datum" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
-      <xs:element name="detail" type="xs:string" minOccurs="1" maxOccurs="1"/>
+      <xs:element name="detail" type="xs:string" minOccurs="0" maxOccurs="1"/>
       <!-- will in the future also include a timestamp element,
            when historical data is supported -->
     </xs:sequence>


-- 
To view, visit https://gerrit.ovirt.org/39791
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to