Merge "Fix engine results processing"

This commit is contained in:
Jenkins 2014-04-16 14:26:13 +00:00 committed by Gerrit Code Review
commit da01c81e78

View File

@ -59,6 +59,9 @@ class ResultEndpoint(object):
return return
environment.description = result environment.description = result
environment.description['Objects']['services'] = \
environment.description['Objects'].get('applications', [])
del environment.description['Objects']['applications']
environment.networking = result.get('networking', {}) environment.networking = result.get('networking', {})
environment.version += 1 environment.version += 1
environment.save(unit) environment.save(unit)