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

Moving error handling to avoid nil pointer reference #9

Merged
merged 1 commit into from
Dec 27, 2018

Conversation

jtuchscherer
Copy link
Contributor

If the credhubCli cannot be created because of an error, there is going to be a nil pointer when it is passed into the credhub.CaCerts function. This would swallow the original root cause of the error.

If the credhubCli cannot be created because of an error, there is going to be a nil pointer when it is passed into the `credhub.CaCerts` function. This would swallow the original root cause of the error.
@psycofdj
Copy link
Member

thanks @jtuchscherer

I'm creating a release with this fix with away and I'll create a MR on prometheus to bump the version

@psycofdj psycofdj merged commit 177299e into orange-cloudfoundry:master Dec 27, 2018
@psycofdj
Copy link
Member

Pull request 275 opened on prometheus

@jtuchscherer jtuchscherer deleted the patch-1 branch December 27, 2018 17:22
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