Group everything under "assets" again
This commit groups all the assets in the json under the key "assets" as it traditionally did. A recent change to exclude any assets marked as inactive caused the issue. Change-Id: I3511fa3f9e07a7f4d7358f53aae54d65ebc1b432 Closes-Bug: 1533109
This commit is contained in:
parent
c764f95ae8
commit
7cd0e688b2
|
@ -24,4 +24,5 @@ for a in y['assets']:
|
|||
if 'environment' in s:
|
||||
s['environment'] = yaml.dump(s['environment'])
|
||||
y = [a for a in y['assets'] if a.get('active', True)]
|
||||
y = {'assets': y}
|
||||
json.dump(y, sys.stdout)
|
||||
|
|
Loading…
Reference in New Issue