summaryrefslogtreecommitdiff
path: root/lib/chef/knife/user_reregister.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/user_reregister.rb')
-rw-r--r--lib/chef/knife/user_reregister.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/user_reregister.rb b/lib/chef/knife/user_reregister.rb
index ee58c19d9f..cf2adbceb2 100644
--- a/lib/chef/knife/user_reregister.rb
+++ b/lib/chef/knife/user_reregister.rb
@@ -23,7 +23,7 @@ class Chef
class UserReregister < Knife
deps do
- require_relative "../user_v1"
+ require "chef/user_v1" unless defined?(Chef::UserV1)
end
banner "knife user reregister USER (options)"