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
Fixes #1026 windows counters on non english systems #1027
Conversation
@@ -72,6 +72,7 @@ var ( | |||
|
|||
PdhOpenQuery = ModPdh.NewProc("PdhOpenQuery") | |||
PdhAddCounter = ModPdh.NewProc("PdhAddCounterW") | |||
PdhAddEnglishCounterW = ModPdh.NewProc("PdhAddEnglishCounterW") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you delete PdhAddCounter
? Now it is unused.
Sorry, could you make a commit to v2 also? |
Done. I now rembered. The error message was just: "gopsutil: unexpected processor queue length counter error, please file an issue on github". This is why I've added the err to the log message. |
Sorry, one more. Could you delete https://github.com/shirou/gopsutil/pull/1027/files#r571389523 |
Done |
Great! Thank you for your contribution! |
Fixes #1026