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

Handle null timestamps #5

Merged
merged 2 commits into from Sep 26, 2022
Merged

Handle null timestamps #5

merged 2 commits into from Sep 26, 2022

Conversation

michi-covalent
Copy link
Owner

If either started_at or completed_at timestamp is null, use the current
timestamp as the event time and set duration to zero.

Signed-off-by: Michi Mutsuzaki michi@isovalent.com

Just to make it easier to run unit tests.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
If either started_at or completed_at timestamp is null, use the current
timestamp as the event time and set duration to zero.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
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.

None yet

1 participant