Commit 474fd14c authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: status gadget portal _type is provided by the python script

parent 2fd1c595
......@@ -367,7 +367,6 @@
// crash as soon as possible to detect wrong configuration
if (!(options.hasOwnProperty('jio_key') &&
options.hasOwnProperty('portal_type') &&
options.hasOwnProperty('result'))) {
throw new Error(
'status gadget did not receive jio_key, portal_type and result values'
......@@ -378,7 +377,6 @@
// result is empty.
var state_dict = options.result || {};
state_dict.jio_key = options.jio_key;
state_dict.portal_type = options.portal_type;
return this.changeState(state_dict);
});
......
......@@ -278,7 +278,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1010.24667.53982.38792</string> </value>
<value> <string>1010.24668.23554.60979</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -298,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>1691742501.46</float>
<float>1691745492.55</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