Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad value in created field in response when creating RTBH and IP Rules #38

Closed
agni-sairent opened this issue Mar 5, 2024 · 1 comment

Comments

@agni-sairent
Copy link

When a rule is created using ExaFS API v3 and the datetime format is a timestamp, expires is used instead of created in the response. Causing the "expires" and "created" timestamps to be the same.

The following lines cause the bug:

created = int(datetime.timestamp(self.expires))

created = int(datetime.timestamp(self.expires))

created = int(datetime.timestamp(self.expires))

jirivrany added a commit that referenced this issue Mar 8, 2024
@jirivrany jirivrany mentioned this issue Mar 8, 2024
@jirivrany
Copy link
Collaborator

Thank you for pointing this out. Fix is on the way.

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

No branches or pull requests

2 participants