Skip to content

Conversation

@jeblair
Copy link

@jeblair jeblair commented Jan 15, 2016

The ignore_entry setting for the future_dates scrub incorrectly compared dates
to time.time() (a float) rather than time.gmtime() (a time_struct).

The ignore_entry setting for the future_dates scrub incorrectly compared dates
to time.time() (a float) rather than time.gmtime() (a time_struct).
openstack-gerrit pushed a commit to openstack/openstack-planet that referenced this pull request Jan 18, 2016
If an entry arrives with a date in the future, disregard the date
and use the internal fetch date instead.

Note, the ignore_entry option is not safe to use without this patch:
  rubys/venus#35

Change-Id: If2c6ea31c8d60211e93615c6104d193e1970e271
openstack-gerrit pushed a commit to openstack/openstack that referenced this pull request Jan 18, 2016
Project: openstack/openstack-planet  156b7996ec72cc532d68103b3c3b4bfb75a6c060

Ignore future dates

If an entry arrives with a date in the future, disregard the date
and use the internal fetch date instead.

Note, the ignore_entry option is not safe to use without this patch:
  rubys/venus#35

Change-Id: If2c6ea31c8d60211e93615c6104d193e1970e271
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant