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

Commits on Sep 25, 2022

  1. Read sys.argv from inside __main__

    Just to make it easier to run unit tests.
    
    Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
    michi-covalent committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    14c1fa5 View commit details
    Browse the repository at this point in the history
  2. Handle null timestamps

    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>
    michi-covalent committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    e871295 View commit details
    Browse the repository at this point in the history