Permalink
Browse files

Have dump state as YAML rather than inspected string

  • Loading branch information...
1 parent c91a0f0 commit dbd6f56b75d9282f80000868b8855f480e5ff0a5 @gdb gdb committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/einhorn/command/interface.rb
@@ -279,7 +279,7 @@ def self.unrecognized_command(conn, request)
end
command 'state', "Get a dump of Einhorn's current state" do
- Einhorn::Command.dumpable_state.pretty_inspect
+ YAML.dump(Einhorn::Command.dumpable_state)
end
command 'reload', 'Reload Einhorn' do |conn, _|

0 comments on commit dbd6f56

Please sign in to comment.