Redfish: Fix incorrect reference tag added as part of update_schemas.py script
Change-Id: I763534d54b7630aec30883d04e02b4f478c10ab4
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 774d1ac..dc73120 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -95,7 +95,7 @@
#schema (because it's an OEM schema). Because it's the only one, and we
#don't update schemas very often, we just manually fix it. Need a
#permanent fix to the script.
- metadata_index.write(" <edmx:Reference Uri=\"/redfish/v1/schema/OemManager_v1.xml\"/>\n")
+ metadata_index.write(" <edmx:Reference Uri=\"/redfish/v1/schema/OemManager_v1.xml\">\n")
metadata_index.write(" <edmx:Include Namespace=\"OemManager\"/>\n")
metadata_index.write(" </edmx:Reference>\n")
metadata_index.write("</edmx:Edmx>\n")
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index cd895db..ec1b952 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -1313,7 +1313,7 @@
<EntityContainer Name="Service" Extends="ServiceRoot.v1_0_0.ServiceContainer"/>
</Schema>
</edmx:DataServices>
- <edmx:Reference Uri="/redfish/v1/schema/OemManager_v1.xml"/>
+ <edmx:Reference Uri="/redfish/v1/schema/OemManager_v1.xml">
<edmx:Include Namespace="OemManager"/>
</edmx:Reference>
</edmx:Edmx>