summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-07-28 10:41:37 -0700
committerGitHub <noreply@github.com>2022-07-28 10:41:37 -0700
commit14d795ce3d8d65e94b5ace612bfc8f67dba8374d (patch)
tree14d95b9e48d132201f31c75995fa6b0acf86ebba
parent84378c3995b8e60695ea32ba16cf6cc1c0b20e87 (diff)
parentf92e35f779a6b340468c792eccb9d496cef23c7b (diff)
downloadchef-14d795ce3d8d65e94b5ace612bfc8f67dba8374d.tar.gz
Merge pull request #13061 from c-drive/am_error_grammar
Wording change in error for missing recipe dependency ("Obvious Fix")
-rw-r--r--lib/chef/run_context.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index ce4d545aa4..be7b787fcc 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -413,9 +413,9 @@ class Chef
logger.warn(<<~ERROR_MESSAGE)
MissingCookbookDependency:
Recipe `#{recipe_name}` is not in the run_list, and cookbook '#{cookbook_name}'
- is not a dependency of any cookbook in the run_list. To load this recipe,
- first add a dependency on cookbook '#{cookbook_name}' in the cookbook you're
- including it from in that cookbook's metadata.
+ is not a dependency of any cookbook in the run_list. To load this recipe,
+ first add a dependency of the cookbook '#{cookbook_name}' into the metadata
+ of the cookbook which depends on '#{cookbook_name}'.
ERROR_MESSAGE
end