diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-11 14:24:10 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-11 14:24:10 -0800 |
commit | 776f2cfb1ff186cd974983218b83cc6b64c71ab7 (patch) | |
tree | d844e75f124a3dccfebba039b20a8c10e96d500b | |
parent | 6ca21c9ce206f1ada1c12a02afb46e3f1625a321 (diff) | |
download | chef-776f2cfb1ff186cd974983218b83cc6b64c71ab7.tar.gz |
remove Chef::Mixin::Command uselcg/useless-run-command
we don't use run_command anywhere and this can apparently cause uninitialized
constant issues when knife ssh is invoked via other knife commands (i.e.
bootstrap) where apparently the transitive lazy deps aren't getting
invoked correctly. there's another bug there, but we do not have any
run_command statements in knife anymore so we should be able to drop
this as a much easier fix.
closes #4546
-rw-r--r-- | lib/chef/knife/ssh.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index 728ee671bc..a1e54f784d 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -30,7 +30,6 @@ class Chef require "readline" require "chef/exceptions" require "chef/search/query" - require "chef/mixin/command" require "chef/util/path_helper" require "mixlib/shellout" end @@ -530,8 +529,6 @@ class Chef end def run - extend Chef::Mixin::Command - @longest = 0 configure_user |