summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/knife.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index a5ed415fee..d277e51105 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -665,7 +665,7 @@ class Chef
def root_rest
@root_rest ||= begin
require_relative "server_api"
- Chef::ServerAPI.new(Chef::Config[:chef_server_root], { api_version: "1" })
+ Chef::ServerAPI.new(Chef::Config[:chef_server_root])
end
end
end