summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveetow <veetow@users.noreply.github.com>2015-03-25 16:24:37 -0400
committerveetow <veetow@users.noreply.github.com>2015-03-25 16:24:37 -0400
commit9f3727c21afe0ac5ad5e093ed8f9b7a7f4cc6233 (patch)
treec552662ea4900edda8299c34bb17f13061ed3807
parentb6eb10f36ae82f0bcf56a04963034abc4f70fc7c (diff)
downloadchef-9f3727c21afe0ac5ad5e093ed8f9b7a7f4cc6233.tar.gz
Update registry_key.rb
Because syntax?
-rw-r--r--lib/chef/resource/registry_key.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/registry_key.rb b/lib/chef/resource/registry_key.rb
index 8126ccf126..d74bac02a1 100644
--- a/lib/chef/resource/registry_key.rb
+++ b/lib/chef/resource/registry_key.rb
@@ -94,7 +94,7 @@ class Chef
raise ArgumentError, "Bad key #{key} in RegistryKey values hash" unless [:name,:type,:data].include?(key)
end
raise ArgumentError, "Type of name => #{v[:name]} should be string" unless v[:name].is_a?(String)
- raise Argument Error "Type of type => #{v[:name]} should be symbol" unless v[:type].is_a?(Symbol)
+ raise ArgumentError, "Type of type => #{v[:type]} should be symbol" unless v[:type].is_a?(Symbol)
end
@unscrubbed_values = @values
elsif self.instance_variable_defined?(:@values)