]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/files/default/ruby/expire.rb
Fix expiry script
[chef.git] / cookbooks / tile / files / default / ruby / expire.rb
index 917b75747df479b2aa604471a43fdc018b90ed1f..2a0bce729dfe5ca21c8186ff7b1320737b8649f5 100755 (executable)
@@ -76,7 +76,7 @@ module Expire
       # so that we don't expire things multiple times
       set.each do |xy|
         # this has to match the routine in mod_tile
-        meta = xyz_to_meta(HASH_ROOT, xy[0], xy[1], xy[2])
+        meta = xyz_to_meta(xy[0], xy[1], xy[2])
 
         # check each style working out what needs expiring
         tile_dirs.each do |tile_dir|