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

RuntimeinfoResult.StartTime should be a time.Time #776

Closed
mxey opened this issue Jun 24, 2020 · 2 comments · Fixed by #777
Closed

RuntimeinfoResult.StartTime should be a time.Time #776

mxey opened this issue Jun 24, 2020 · 2 comments · Fixed by #777

Comments

@mxey
Copy link
Contributor

mxey commented Jun 24, 2020

Observed on release v1.7.1

RuntimeinfoResult.StartTime is a string containing a timestamp. If the field was a time.Time, Go's encoding/json would automatically parse the timestamp while unmarshalling.

@bwplotka
Copy link
Member

hm, yes I think we could change this (if compatibility allows ;p @beorn7)

Help wanted!

@beorn7
Copy link
Member

beorn7 commented Jun 24, 2020

No compatibility guarantees for the API client, anyway. So please go ahead and create a PR. (o:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants