Skip to content

Commit

Permalink
Fix missing meta attribute in ServiceResource
Browse files Browse the repository at this point in the history
  • Loading branch information
beatro0t committed Sep 17, 2020
1 parent b667ff9 commit 28dafc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws/ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def run_ingestor(collections, model):

collection_managers.append(cm)

if cm.meta.data is None:
if 'meta' not in dir(cm) or cm.meta.data is None:

self.console.warn(f"Skipping ServiceResource {cm}: "
"it has no properties")
Expand Down

0 comments on commit 28dafc0

Please sign in to comment.