diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-02 16:08:49 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-02 16:08:49 -0700 |
commit | 2be754388ee4c03239cc29a9d84b33a05a1e44e1 (patch) | |
tree | faccc1a4c33e22f5e84b079f38df8603fe8dfb70 | |
parent | cd2c253a9b29ca3dc26371aa5765a900afd2ef42 (diff) | |
download | chef-2be754388ee4c03239cc29a9d84b33a05a1e44e1.tar.gz |
clean up one more CustomManifestLoader stray referencelcg/deprecated-knife-subcommand-apis
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/knife.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 47ce85b9e3..9c8b984054 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -1,7 +1,7 @@ # # Author:: Adam Jacob (<adam@chef.io>) # Author:: Christopher Brown (<cb@chef.io>) -# Copyright:: Copyright 2009-2016, Chef Software Inc. +# Copyright:: Copyright 2009-2017, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -265,8 +265,7 @@ class Chef ui.fatal("Cannot find subcommand for: '#{args.join(' ')}'") # Mention rehash when the subcommands cache(plugin_manifest.json) is used - if subcommand_loader.is_a?(Chef::Knife::SubcommandLoader::HashedCommandLoader) || - subcommand_loader.is_a?(Chef::Knife::SubcommandLoader::CustomManifestLoader) + if subcommand_loader.is_a?(Chef::Knife::SubcommandLoader::HashedCommandLoader) ui.info("If this is a recently installed plugin, please run 'knife rehash' to update the subcommands cache.") end |