summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb')
-rw-r--r--lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb b/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb
index 3b1fb53da6..1254d8543c 100644
--- a/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb
+++ b/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb
@@ -5,7 +5,7 @@ class Chef
module ChefFS
module DataHandler
class DataBagItemDataHandler < DataHandlerBase
- RESERVED_NAMES = /^(node|role|environment|client)$/
+ RESERVED_NAMES = /^(node|role|environment|client)$/.freeze
def normalize(data_bag_item, entry)
# If it's wrapped with raw_data, unwrap it.