fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

get_global_netblocks: use yesterday's date #168

Closed adrianreber closed 8 years ago

adrianreber commented 8 years ago

Fixes #165

The servers providing the IPv4/IPv6 global netblocks do not seem to be running on UTC and therefore it can happen that when requesting the netblock list on the first of the month on a UTC system that the netblock list does not yet exist as the destination server is still in the previous month. Using yesterday's date should work around/fix this.

Signed-off-by: Adrian Reber adrian@lisas.de

pypingou commented 8 years ago

Easy enough :+1: :)