summaryrefslogtreecommitdiff
path: root/lib/chef/knife/key_create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/key_create.rb')
-rw-r--r--lib/chef/knife/key_create.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife/key_create.rb b/lib/chef/knife/key_create.rb
index 9288fd91e8..398b8fac48 100644
--- a/lib/chef/knife/key_create.rb
+++ b/lib/chef/knife/key_create.rb
@@ -29,7 +29,6 @@ class Chef
#
# @attr_accessor [Hash] cli input, see UserKeyCreate and ClientKeyCreate for what could populate it
class KeyCreate
-
attr_accessor :config
def initialize(actor, actor_field_name, ui, config)
@@ -40,7 +39,7 @@ class Chef
end
def public_key_or_key_name_error_msg
-<<EOS
+ <<EOS
You must pass either --public-key or --key-name, or both.
If you only pass --public-key, a key name will be generated from the fingerprint of your key.
If you only pass --key-name, a key pair will be generated by the server.