summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pereira <pereira.m@gmail.com>2016-03-08 12:43:00 -0500
committerMichael Pereira <pereira.m@gmail.com>2016-03-08 12:43:00 -0500
commit6274517d1188aba55d901c8219093872d312c063 (patch)
tree0c33040108f06f5167c78b882326bf54208e2f69
parentc54f2fe21ea9b0119b82bbcf7f313ee8f68f7b38 (diff)
downloadchef-6274517d1188aba55d901c8219093872d312c063.tar.gz
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