summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/cookbook_site_show.rb')
-rw-r--r--lib/chef/knife/cookbook_site_show.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/chef/knife/cookbook_site_show.rb b/lib/chef/knife/cookbook_site_show.rb
index 2956ca2879..a6a4c82c85 100644
--- a/lib/chef/knife/cookbook_site_show.rb
+++ b/lib/chef/knife/cookbook_site_show.rb
@@ -37,7 +37,7 @@ class Chef
end
end
- def get_cookbook_list(items=10, start=0, cookbook_collection={})
+ def get_cookbook_list(items = 10, start = 0, cookbook_collection = {})
cookbooks_url = "https://supermarket.chef.io/api/v1/cookbooks?items=#{items}&start=#{start}"
cr = noauth_rest.get(cookbooks_url)
cr["items"].each do |cookbook|
@@ -53,8 +53,3 @@ class Chef
end
end
end
-
-
-
-
-