summaryrefslogtreecommitdiff
path: root/lib/chef/knife/configure.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
commit5f6daf7b670b571447a5d907219ab7804e3c9007 (patch)
treeec228a87abab99d4dbc0626192d30b724a08888e /lib/chef/knife/configure.rb
parentba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff)
downloadchef-attrs.tar.gz
Combine attr_readers onto a single lineattrs
The method takes more than 1 argument Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/configure.rb')
-rw-r--r--lib/chef/knife/configure.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife/configure.rb b/lib/chef/knife/configure.rb
index e0bd835ddb..d7cec09a0d 100644
--- a/lib/chef/knife/configure.rb
+++ b/lib/chef/knife/configure.rb
@@ -22,8 +22,7 @@ require_relative "../dist"
class Chef
class Knife
class Configure < Knife
- attr_reader :chef_server, :new_client_name, :admin_client_name, :admin_client_key
- attr_reader :chef_repo, :new_client_key, :validation_client_name, :validation_key
+ attr_reader :chef_server, :new_client_name, :admin_client_name, :admin_client_key, :chef_repo, :new_client_key, :validation_client_name, :validation_key
deps do
require_relative "../util/path_helper"