diff options
author | Jose Asuncion <jeunito@gmail.com> | 2017-07-06 07:27:47 -0700 |
---|---|---|
committer | Jose Asuncion <jeunito@gmail.com> | 2017-07-06 07:27:47 -0700 |
commit | 606304ec18bd518c2eff9b9b4257aff55df50f2d (patch) | |
tree | 15cb1d9c334524bda733f0086f131435f99c3872 /lib/chef/server_api.rb | |
parent | 764524d41d6aac0fcb62c8030ecaa217eda8c746 (diff) | |
download | chef-606304ec18bd518c2eff9b9b4257aff55df50f2d.tar.gz |
update to conform to chefstyle
Diffstat (limited to 'lib/chef/server_api.rb')
-rw-r--r-- | lib/chef/server_api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/server_api.rb b/lib/chef/server_api.rb index 3a98b7aa3a..d4644e8fc7 100644 --- a/lib/chef/server_api.rb +++ b/lib/chef/server_api.rb @@ -38,7 +38,7 @@ class Chef super(url, options) chef_server_attrs = get("/").keys.sort - raise Chef::Exceptions::NotAChefServerException if [ "guid", "full_name", "name" ].sort != chef_server_attrs + raise Chef::Exceptions::NotAChefServerException if %w[ guid full_name name ].sort != chef_server_attrs end use Chef::HTTP::JSONInput |