]> git.openstreetmap.org Git - chef.git/commitdiff
Fix expiry script
authorTom Hughes <tom@compton.nu>
Fri, 5 Jul 2013 23:22:25 +0000 (00:22 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 5 Jul 2013 23:22:37 +0000 (00:22 +0100)
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
       # 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|
 
         # check each style working out what needs expiring
         tile_dirs.each do |tile_dir|