Skip to content

Commit

Permalink
Merge pull request #113 from Ladas/filter_out_resources_without_physi…
Browse files Browse the repository at this point in the history
…cal_resource_id

Filter out resources with blank physical_resource_id
  • Loading branch information
tzumainn authored Oct 11, 2017
2 parents 957cbc1 + b89f7ab commit 08eb876
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def orchestration_stack_resources(stack, stack_inventory_object)
raw_resources = collector.orchestration_resources(stack)
# reject resources that don't have a physical resource id, because that
# means they failed to be successfully created
raw_resources.reject! { |r| r.physical_resource_id.nil? }
raw_resources.reject! { |r| r.physical_resource_id.blank? }
raw_resources.each do |resource|
uid = resource.physical_resource_id
o = persister.orchestration_stacks_resources.find_or_build(uid)
Expand Down

0 comments on commit 08eb876

Please sign in to comment.