Commit df0e62ec authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: API for status gadget changed

   Value and doc aren't required anymore.
parent bd00e486
......@@ -221,11 +221,9 @@
.push(function (compute_node) {
//xxxx repopup to resize popup
new_marker_list[index].openPopup();
return compute_node.render({value: {
return compute_node.render({
jio_key : gadget.options.marker_list ? gadget.options.marker_list[index].jio_key : "",
doc: gadget.options.marker_list ? gadget.options.marker_list[index].doc : "",
result: gadget.options.marker_list ? gadget.options.marker_list[index].doc.result : ""
}
});
});
}
......
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1001.24988.19785.29030</string> </value>
<value> <string>1006.58340.40727.23620</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1656977110.45</float>
<float>1693250955.47</float>
<string>UTC</string>
</tuple>
</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