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

fix timestamp default value #290

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

talIguaz
Copy link
Contributor

No description provided.

@gtopper gtopper self-requested a review September 24, 2019 12:14
for i, t := range times {
msg.Times[i] = t.UnixNano()
if t == nilTime {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good idea to defend against all unsupported values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea i thought about it.. i dont really think it's gonna have other unsupported values. this only happens when we initialize the times slice with a certain size so the "zero" values or this shitty thing 0001-01-01...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why it can't have other unsupported values?

@talIguaz talIguaz merged commit 988b630 into v3io:development Sep 25, 2019
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.

2 participants