Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for non-existent mixins

  • Loading branch information...
commit cdb195eabb6cf9044234a9af6098ae2af3718ee1 1 parent 36a331b
@arax arax authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.