diff options
Diffstat (limited to 'lib/chef/knife/node_delete.rb')
-rw-r--r-- | lib/chef/knife/node_delete.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/node_delete.rb b/lib/chef/knife/node_delete.rb index 7c0c6f0a21..605d99b57f 100644 --- a/lib/chef/knife/node_delete.rb +++ b/lib/chef/knife/node_delete.rb @@ -23,8 +23,8 @@ class Chef class NodeDelete < Knife deps do - require_relative "../node" - require_relative "../json_compat" + require "chef/node" unless defined?(Chef::Node) + require "chef/json_compat" unless defined?(Chef::JSONCompat) end banner "knife node delete [NODE [NODE]] (options)" |