diff options
author | tyler-ball <tyleraball@gmail.com> | 2016-03-02 12:19:48 -0700 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2016-03-04 10:50:59 -0700 |
commit | 68b188dbd933a5ec97e5540d22541c57480bdad3 (patch) | |
tree | 5c4e9ba97d90a855cde83b5ff9ea3b5d485cd7f8 /lib/chef/knife/rehash.rb | |
parent | 3cda9adee23631665f6b5e7435eac09673876ba8 (diff) | |
download | chef-68b188dbd933a5ec97e5540d22541c57480bdad3.tar.gz |
Adding specs for rehash update
Diffstat (limited to 'lib/chef/knife/rehash.rb')
-rw-r--r-- | lib/chef/knife/rehash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/rehash.rb b/lib/chef/knife/rehash.rb index 8ede30643a..79286368f8 100644 --- a/lib/chef/knife/rehash.rb +++ b/lib/chef/knife/rehash.rb @@ -38,7 +38,7 @@ class Chef # The subcommand_loader for this knife command should _always_ be the GemGlobLoader. The GemGlobLoader loads # plugins from disc and ensures the hash we write is always correct. By this point it should also already have # loaded plugins and `load_commands` shouldn't have an effect. - Chef::Knife::subcommand_loader.load_commands + Chef::Knife.subcommand_loader.load_commands end def generate_hash |