]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/recipes/master.rb
Freeze mutable objects assigned to constants
[chef.git] / cookbooks / db / recipes / master.rb
index 6ba23cb50a1fab486cedeafa81b61a905564a578..636cd60dc9507c8e5bc2d5cee672f0591fbc6b85 100644 (file)
@@ -117,13 +117,13 @@ CGIMAP_PERMISSIONS = {
   "way_nodes" => [:select, :insert],
   "way_tags" => [:select, :insert],
   "ways" => [:select, :insert]
-}
+}.freeze
 
 PLANETDUMP_PERMISSIONS = {
   "note_comments" => :select,
   "notes" => :select,
   "users" => :select
-}
+}.freeze
 
 PLANETDIFF_PERMISSIONS = {
   "changeset_comments" => :select,
@@ -138,7 +138,7 @@ PLANETDIFF_PERMISSIONS = {
   "way_nodes" => :select,
   "way_tags" => :select,
   "ways" => :select
-}
+}.freeze
 
 %w[
   acls