Commit ad8d64de authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Dont enable Fast Input if there isnt an default Software Instance

parent 40c4c4f0
...@@ -6,7 +6,7 @@ if context.getRootSlave(): ...@@ -6,7 +6,7 @@ if context.getRootSlave():
return {} return {}
for sr_string in ['software/re6stnet/', 'software/caddy-frontend/']: for sr_string in ['software/re6stnet/', 'software/caddy-frontend/']:
if sr_string in context.getUrlString(''): if context.getSuccessorReference() is not None and sr_string in context.getUrlString(''):
return { return {
'enabled': True, 'enabled': True,
'sla_xml': '<parameter id="instance_guid">%s</parameter>' % context.getSuccessorReference() 'sla_xml': '<parameter id="instance_guid">%s</parameter>' % context.getSuccessorReference()
......
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