Fix engine results processing
Store applications returned by engine as services Change-Id: Ib377f163760b067c940482bfd72236c7cc956545 Partial-bug: #1305142
This commit is contained in:
parent
6291c85940
commit
443aa5abcb
@ -59,6 +59,9 @@ class ResultEndpoint(object):
|
||||
return
|
||||
|
||||
environment.description = result
|
||||
environment.description['Objects']['services'] = \
|
||||
environment.description['Objects'].get('applications', [])
|
||||
del environment.description['Objects']['applications']
|
||||
environment.networking = result.get('networking', {})
|
||||
environment.version += 1
|
||||
environment.save(unit)
|
||||
|
Loading…
Reference in New Issue
Block a user