lib/protoboard/helpers/services_healthcheck_generator.rb in protoboard-0.1.2 vs lib/protoboard/helpers/services_healthcheck_generator.rb in protoboard-0.1.3
- old
+ new
@@ -31,10 +31,10 @@
.map do |service, circuits_hash|
circuits = circuits_hash.each_with_object({}) { |circuit, memo| memo[circuit[:name]] = circuit[:status] }
{ service => { 'circuits' => circuits } }
end.reduce(:merge)
- { 'services' => services_hash }
+ { 'services' => services_hash.to_h }
end
end
end
end