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

core: fix serverResponseTime typo in network-server-latency #9388

Merged
merged 4 commits into from
Jul 17, 2019

Conversation

angelogulina
Copy link
Contributor

@angelogulina angelogulina commented Jul 17, 2019

Summary

This fixes a typo for network-server-latency, which has currently serverReponseTime instead of serverResponseTime (and maybe cause bugs when trying to get some values out of the JSON).

@vercel vercel bot temporarily deployed to staging July 17, 2019 12:17 Inactive
@angelogulina angelogulina changed the title Fix typo on network-server-latency.js Fix typo on network-server-latency related files Jul 17, 2019
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

Yikes, great catch @angelogulina thank you so much for the PR!

While this is technically a "breaking" change, it's so egregiously a bug that I'm 👍 with shipping in next minor. I also have to believe you're the first person that has actually tried to use this with a fixed string, so pretty low risk of breaking folks.

(for core team, the only usage of this in DZL is automatically populating the diagnostic pool and the string is not hard coded, i.e. the label is just generated with _.startCase(key) and just haven't caught the typo)

@patrickhulce patrickhulce changed the title Fix typo on network-server-latency related files core: fix typo in network-server-latency serverResponseTime Jul 17, 2019
@patrickhulce patrickhulce changed the title core: fix typo in network-server-latency serverResponseTime core: fix serverResponseTime typo in network-server-latency Jul 17, 2019
Copy link
Member

@exterkamp exterkamp left a comment

Choose a reason for hiding this comment

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

LGTM nice catch!

@@ -4991,4 +4991,4 @@
"total": 12345.6789
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3358.0 Safari/537.36"
}
Copy link
Member

Choose a reason for hiding this comment

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

I wonder why this happened? Unix vs. windows proto diff maybe?

Copy link
Member

Choose a reason for hiding this comment

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

some people have editor settings for this, though maybe you'd have to be committing through your editor for those to be triggered for these files?

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM3 Thanks!

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

Successfully merging this pull request may close these issues.

5 participants