diff options
author | Chris Doherty <cdoherty@chef.io> | 2015-11-10 13:33:27 -0800 |
---|---|---|
committer | Chris Doherty <cdoherty@chef.io> | 2015-11-10 15:11:09 -0800 |
commit | e1981f2a49f7902da96e43e732f9593570c23dcd (patch) | |
tree | ddbf1534d34553db2b29811b5c9627079d1ee607 /lib | |
parent | 274a4dd9bfb5d65ac2e23f98c66756c40ae0621a (diff) | |
download | chef-zero-e1981f2a49f7902da96e43e732f9593570c23dcd.tar.gz |
open_source_endpoints() -> endpoints()
Diffstat (limited to 'lib')
-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 d9e3931..1686301 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -485,7 +485,7 @@ module ChefZero private - def open_source_endpoints + def endpoints result = if options[:osc_compat] # OSC-only [ @@ -581,7 +581,7 @@ module ChefZero def app return @app if @app - router = RestRouter.new(open_source_endpoints) + router = RestRouter.new(endpoints) router.not_found = NotFoundEndpoint.new if options[:single_org] |