File rh#1931332-0003-Med-Change-the-schema-type-of-expected-and-call-to-i.patch of Package pacemaker.26122

From 9b6ee6eb5aa1008beebae9d9f6c3889c81c3bbb6 Mon Sep 17 00:00:00 2001
From: Chris Lumens <clumens@redhat.com>
Date: Tue, 2 Mar 2021 10:58:15 -0500
Subject: [PATCH 3/3] Med: Change the schema type of 'expected' and 'call' to
 integer.

Regression in 2.0.3.

See: rhbz#1931332
---
 xml/api/crm_mon-2.7.rng      | 4 ++--
 xml/api/crm_resource-2.7.rng | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xml/api/crm_mon-2.7.rng b/xml/api/crm_mon-2.7.rng
index 88973a4ea..8e6792b63 100644
--- a/xml/api/crm_mon-2.7.rng
+++ b/xml/api/crm_mon-2.7.rng
@@ -198,7 +198,7 @@
                     <attribute name="name"> <text /> </attribute>
                     <attribute name="value"> <text /> </attribute>
                     <optional>
-                        <attribute name="expected"> <data type="nonNegativeInteger" /> </attribute>
+                        <attribute name="expected"> <data type="integer" /> </attribute>
                     </optional>
                 </element>
             </zeroOrMore>
@@ -269,7 +269,7 @@
             <attribute name="exitstatus"> <text /> </attribute>
             <attribute name="exitreason"> <text /> </attribute>
             <attribute name="exitcode"> <data type="nonNegativeInteger" /> </attribute>
-            <attribute name="call"> <data type="nonNegativeInteger" /> </attribute>
+            <attribute name="call"> <data type="integer" /> </attribute>
             <attribute name="status"> <text /> </attribute>
             <optional>
                 <group>
diff --git a/xml/api/crm_resource-2.7.rng b/xml/api/crm_resource-2.7.rng
index b49e24c00..8e386db02 100644
--- a/xml/api/crm_resource-2.7.rng
+++ b/xml/api/crm_resource-2.7.rng
@@ -217,7 +217,7 @@
             </optional>
             <attribute name="op"> <text/> </attribute>
             <attribute name="node"> <text/> </attribute>
-            <attribute name="call"> <data type="nonNegativeInteger" /> </attribute>
+            <attribute name="call"> <data type="integer" /> </attribute>
             <attribute name="rc"> <data type="nonNegativeInteger" /> </attribute>
             <optional>
                 <attribute name="last-rc-change"> <text/> </attribute>
-- 
2.26.2

openSUSE Build Service is sponsored by