summaryrefslogtreecommitdiff
path: root/lib/chef/knife/osc_user_create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/osc_user_create.rb')
-rw-r--r--lib/chef/knife/osc_user_create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/osc_user_create.rb b/lib/chef/knife/osc_user_create.rb
index 3d879fd4f6..2e971365ec 100644
--- a/lib/chef/knife/osc_user_create.rb
+++ b/lib/chef/knife/osc_user_create.rb
@@ -78,7 +78,7 @@ class Chef
user.public_key File.read(File.expand_path(config[:user_key]))
end
- output = edit_data(user)
+ output = edit_hash(user)
user = Chef::User.from_hash(output).create
ui.info("Created #{user}")