Skip to content

Commit

Permalink
io.schema: Fix inheriting resource lists
Browse files Browse the repository at this point in the history
  • Loading branch information
spbnick committed Mar 27, 2020
1 parent f3e72a6 commit ca805cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kcidb/io/schema/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def inherit(data):
tests=["output_files"]).items():
for obj in data.get(collection, []):
for prop in prop_list:
for resource in obj[prop]:
for resource in obj.get(prop, []):
resource["name"] = resource["name"].replace("/", "_")

# Update version
Expand Down

0 comments on commit ca805cb

Please sign in to comment.