summaryrefslogtreecommitdiff
path: root/lib/chef/node/attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r--lib/chef/node/attribute.rb2
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)