lib/einhorn/command/interface.rb in einhorn-0.7.0 vs lib/einhorn/command/interface.rb in einhorn-0.7.1
- old
+ new
@@ -303,10 +303,10 @@
#{command_descriptions}
"
end
command 'state', "Get a dump of Einhorn's current state" do
- YAML.dump(Einhorn::Command.dumpable_state)
+ YAML.dump({:state => Einhorn::State.dumpable_state})
end
command 'reload', 'Reload Einhorn' do |conn, request|
# TODO: make reload actually work (command socket reopening is
# an issue). Would also be nice if user got a confirmation that