X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/db1258aa91142e37e5dcded368a25ec2c937f473..9bca5f05185dde08efcf2d5f1a2bf66c8cdc9f00:/cookbooks/tile/files/default/ruby/expire.rb diff --git a/cookbooks/tile/files/default/ruby/expire.rb b/cookbooks/tile/files/default/ruby/expire.rb index 7757386c5..f99d646e0 100755 --- a/cookbooks/tile/files/default/ruby/expire.rb +++ b/cookbooks/tile/files/default/ruby/expire.rb @@ -131,7 +131,7 @@ module Expire # this is a node referenced but not added, modified or deleted, so it should # still be in the node cache. - if entry = node_cache[node_id] + if (entry = node_cache[node_id]) point = Proj4::Point.new(entry.lon, entry.lat) nodes[node_id] = tile_from_merc(point, max_zoom) end