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

fix bug missing an error. #7020

Merged
merged 1 commit into from
Mar 21, 2020
Merged

fix bug missing an error. #7020

merged 1 commit into from
Mar 21, 2020

Conversation

johncming
Copy link
Contributor

May lose error: err is nil and _err is not nil. This lead to return []error{nil}

Although this may not happen, it is better not to base on Unmarshal implementation.

Signed-off-by: johncming <johncming@yahoo.com>
@brian-brazil brian-brazil merged commit 51c8245 into prometheus:master Mar 21, 2020
@brian-brazil
Copy link
Contributor

Thanks!

pull bot pushed a commit to scope-demo/prometheus that referenced this pull request Mar 21, 2020
Signed-off-by: johncming <johncming@yahoo.com>
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