Skip to content
Browse files

Fix for non-existent mixins

  • Loading branch information...
1 parent 36a331b commit cdb195eabb6cf9044234a9af6098ae2af3718ee1 @arax arax committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/occi/bin/resource_output_factory.rb
View
2 lib/occi/bin/resource_output_factory.rb
@@ -61,7 +61,7 @@ def self.resources_to_plain(occi_resources, resource_type)
occi_resources.each do |occi_resource|
json_resource = occi_resource.as_json
- formatted_output << template.result(binding) unless json_resource.empty?
+ formatted_output << template.result(binding) unless json_resource.nil? || json_resource.empty?
end
formatted_output

0 comments on commit cdb195e

Please sign in to comment.
Something went wrong with that request. Please try again.