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

Omit controls field from json if emtpy. #725

Merged
merged 2 commits into from
Dec 4, 2015
Merged

Conversation

tomwilkie
Copy link
Contributor

Fixes #654

@paulbellamy
Copy link
Contributor

They're still there. Due to go's awkward zero semantics, you have to explicitly render the timestamp as in: https://github.com/weaveworks/scope/blob/master/report/metrics.go#L215

@tomwilkie
Copy link
Contributor Author

Definitely not there (on topologies) any more:

screen shot 2015-12-04 at 12 27 24

@tomwilkie
Copy link
Contributor Author

So I guess you mean on Nodes; let me take a look.

@paulbellamy
Copy link
Contributor

LGTM

tomwilkie added a commit that referenced this pull request Dec 4, 2015
Omit controls field from json if emtpy.
@tomwilkie tomwilkie merged commit 2b4596c into master Dec 4, 2015
@tomwilkie tomwilkie deleted the 654-omit-controls branch December 4, 2015 13:15
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