diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-18 22:50:35 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-18 22:50:35 -0800 |
commit | dc76a7b655146b91d4096eeb1f5bc3e8dd022e62 (patch) | |
tree | ab5a321637645d59ec7a0589a146af2653addb63 /lib/chef/node/attribute.rb | |
parent | 80e37a39f47899adc978c3e4b8c381f8f212814d (diff) | |
download | chef-lcg/lazy-deep-merge2.tar.gz |
fix ImmutableAttributeModification exceptionlcg/lazy-deep-merge2
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r-- | lib/chef/node/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb index 56034a60e4..dc97aa600b 100644 --- a/lib/chef/node/attribute.rb +++ b/lib/chef/node/attribute.rb @@ -381,7 +381,7 @@ class Chef end def []=(key, value) - raise "this should just raise an immutable attribute exception" + raise Exceptions::ImmutableAttributeModification end def has_key?(key) |