diff options
author | Saku Ytti <saku@ytti.fi> | 2013-04-19 14:58:58 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2013-04-19 14:58:58 +0300 |
commit | 5a393d6102655f575549311e6b250534b4dcbb59 (patch) | |
tree | 723ed044fd640b8f01615b2eb852f38346443f44 /lib/oxidized/api/rest.rb | |
parent | 96668cc2dc0367e3d1a3ec94265ce889b62d8ada (diff) |
Add 'cmd :all' convenience, ran after each command
Easier screen-scraping, if each command produces always same set of
cruft that needs to be removed
Diffstat (limited to 'lib/oxidized/api/rest.rb')
-rw-r--r-- | lib/oxidized/api/rest.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/api/rest.rb b/lib/oxidized/api/rest.rb index ee06bc8..4a5fbca 100644 --- a/lib/oxidized/api/rest.rb +++ b/lib/oxidized/api/rest.rb @@ -7,7 +7,7 @@ module Oxidized @nodes = nodes addr, port = listen.to_s.split ':' port, addr = addr, nil if not port - @web = WEBrick::HTTPServer.new :BindAddress=>addr, :Port=>port + @web = WEBrick::HTTPServer.new :BindAddress=>addr, :Port=>port, :Logger=>Log maps end def work |