summaryrefslogtreecommitdiff
path: root/lib/chef/knife/environment_compare.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/environment_compare.rb')
-rw-r--r--lib/chef/knife/environment_compare.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/environment_compare.rb b/lib/chef/knife/environment_compare.rb
index 792ec444ea..54f011f323 100644
--- a/lib/chef/knife/environment_compare.rb
+++ b/lib/chef/knife/environment_compare.rb
@@ -57,7 +57,7 @@ class Chef
end
# Get all cookbooks so we can compare them all
- cookbooks = rest.get_rest("/cookbooks?num_versions=1") if config[:all]
+ cookbooks = rest.get("/cookbooks?num_versions=1") if config[:all]
# display matrix view of in the requested format.
if config[:format] == 'summary'