8000 Fix accidental rename of DNS to 'nodes' by bboreham · Pull Request #3713 · weaveworks/scope · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix accidental rename of DNS to 'nodes' #3713

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

Merged
merged 2 commits into from
Oct 17, 2019
Merged

Fix accidental rename of DNS to 'nodes' #3713

merged 2 commits into from
Oct 17, 2019

Conversation

bboreham
Copy link
Collaborator

In commit 951629a (part of #3677) the DNS field was accidentally renamed in serialised data to nodes. Put it back, and also add a field to fix up data coming from a probe with that fault.

🤦‍♂

In commit 951629a the `DNS` field was accidentally renamed in
serialised data to `nodes`.  Put it back, and also add a field to fix
up data coming from a probe with that fault.
Copy link
Contributor
@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

report/report.go Outdated
@@ -188,7 +188,9 @@ type Report struct {
// Job represent all Kubernetes Job on hosts running probes.
Job Topology

DNS DNSRecords `json:"nodes,omitempty" deepequal:"nil==empty"`
DNS DNSRecords `json:"DNS,omitempty" deepequal:"nil==empty"`
// For release 1.11.6, probes accidentally sent DNS records labeled "nodes".
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please link 951629a in the comment? Just so that it's easier to track how much time has passed.

Related to that, how long do you think we should keep BugDNS field around? Hopefully not forever :O

8000

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not forever, but If 1.11.6 is the last version that supports pre-1.9 Kubernetes we probably need to keep compatibility for a year or two.

Copy link
Contributor
@fbarl fbarl left a comment

Choose a reason for hiding this comment

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

Left one comment, otherwise LGTM!

@bboreham bboreham merged commit 4a02171 into master Oct 17, 2019
@bboreham bboreham deleted the dns-nodes branch October 17, 2019 11:07
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.

3 participants
0