summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-03-08 17:46:34 +0000
committerThom May <thom@may.lt>2016-03-08 17:46:34 +0000
commitdedb6ddaf84186be97d7436e2ccff7f4e52ee314 (patch)
tree0c33040108f06f5167c78b882326bf54208e2f69
parentc54f2fe21ea9b0119b82bbcf7f313ee8f68f7b38 (diff)
parent6274517d1188aba55d901c8219093872d312c063 (diff)
downloadchef-dedb6ddaf84186be97d7436e2ccff7f4e52ee314.tar.gz
Merge pull request #4676 from MichaelPereira/patch-1
Fix typo in whyrun message
-rw-r--r--lib/chef/provider/registry_key.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/registry_key.rb b/lib/chef/provider/registry_key.rb
index 2e00fd08e1..e516433ac8 100644
--- a/lib/chef/provider/registry_key.rb
+++ b/lib/chef/provider/registry_key.rb
@@ -83,7 +83,7 @@ class Chef
#If keys missing in the path and recursive == false
a.assertion { !registry.keys_missing?(@current_resource.key) || @new_resource.recursive }
a.failure_message(Chef::Exceptions::Win32RegNoRecursive, "Intermediate keys missing but recursive is set to false")
- a.whyrun("Intermediate keys in #{@new_resource.key} go not exist. Unless they would have been created earlier, attempt to modify them would fail.")
+ a.whyrun("Intermediate keys in #{@new_resource.key} do not exist. Unless they would have been created earlier, attempt to modify them would fail.")
end
requirements.assert(:delete_key) do |a|
#If key to be deleted has subkeys but recurssive == false