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

Proper error checking and removed strange temp var #45

Merged
merged 1 commit into from
Oct 30, 2017
Merged

Proper error checking and removed strange temp var #45

merged 1 commit into from
Oct 30, 2017

Conversation

Strum355
Copy link
Contributor

@Strum355 Strum355 commented Oct 28, 2017

Replaced the checking error string with properly comparing the error to the zookeeper error consts. Also removed an unnecessary allocation (zk.Conn.Get() returns a byte slice, someone made a temp byte slice that holds the contents of the returned byte slice? Either i misread/misinterpreted the code, or else what. Correct me if im wrong here

@shawnfeldman shawnfeldman merged commit e6a44f5 into sendgrid:master Oct 30, 2017
@Strum355 Strum355 deleted the patch-5 branch October 30, 2017 20:41
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