Commit 07b5e0ea authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fixup typo

  Drop non required new line (it will be added anyway).
parent 114d59fa
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
'parameter' : { 'parameter' : {
'json_url': doc.url_string.split('?')[0] + ".json", 'json_url': doc.url_string.split('?')[0] + ".json",
//'json_url': "https://lab.node.vifib.com/nexedi/slapos/raw/master/software/kvm/software.cfg.json", //'json_url': "https://lab.node.vifib.com/nexedi/slapos/raw/master/software/kvm/software.cfg.json",
'parameter_hash': btoa('<?xml version="1.0" encoding="utf-8" ?><instance></instance>'), 'parameter_hash': btoa('<?xml version="1.0" encoding="utf-8" ?><instance/>'),
'restricted_softwaretype': false 'restricted_softwaretype': false
} }
}; };
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.45437.22132.61764</string> </value> <value> <string>999.2068.62564.17</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1602158386.55</float> <float>1652724671.12</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
function jsonDictToParameterXML(json) { function jsonDictToParameterXML(json) {
var parameter_id, var parameter_id,
xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?>\n<instance />')); xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?><instance />'));
// Used by serialisation XML // Used by serialisation XML
for (parameter_id in json) { for (parameter_id in json) {
if (json.hasOwnProperty(parameter_id)) { if (json.hasOwnProperty(parameter_id)) {
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
} }
function jsonDictToParameterJSONInXML(json) { function jsonDictToParameterJSONInXML(json) {
var xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?>\n<instance />')); var xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?><instance />'));
// Used by serialisation XML // Used by serialisation XML
$('instance', xml_output).append( $('instance', xml_output).append(
$('<parameter />', xml_output) $('<parameter />', xml_output)
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
value: json_field['enum'][option_index], value: json_field['enum'][option_index],
text: json_field['enum'][option_index], text: json_field['enum'][option_index],
"data-format": data_format, "data-format": data_format,
selected: true selected: selected
})); }));
} }
} }
......
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1000.14042.12571.63982</string> </value> <value> <string>1000.18191.48252.54374</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1652712920.56</float> <float>1652724487.39</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment