diff options
author | Steven Danna <steve@opscode.com> | 2013-06-11 13:16:44 -0700 |
---|---|---|
committer | Steven Danna <steve@opscode.com> | 2013-06-11 13:16:44 -0700 |
commit | 6a7c2a78a497d12f90536c1211575abcbf979500 (patch) | |
tree | ea64a4a3b37c58b7b04ba08a7f5be2d682c276f7 /lib/chef_zero/server.rb | |
parent | 1a7e1dfa58cb0309b74dba409b2c199ea061127e (diff) | |
download | chef-zero-6a7c2a78a497d12f90536c1211575abcbf979500.tar.gz |
Remove short form (-s) of --socket option and rename variable.
Diffstat (limited to 'lib/chef_zero/server.rb')
-rw-r--r-- | lib/chef_zero/server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index f2706be..b8be3c7 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -73,8 +73,8 @@ module ChefZero ChefZero::Log.level = options[:log_level].to_sym @server = Puma::Server.new(make_app, Puma::Events.new(STDERR, STDOUT)) - if options[:sock] - @server.add_unix_listener(options[:sock]) + if options[:socket] + @server.add_unix_listener(options[:socket]) else @server.add_tcp_listener(options[:host], options[:port]) end |