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

rebalance.go, rebuild.go, server.go, thrasher.go -> print out error, … #4

Merged
merged 1 commit into from
May 3, 2019

Conversation

n0nz
Copy link
Contributor

@n0nz n0nz commented May 2, 2019

  • change the way of error handling from assign error to a variable to in-line error checking
  • handle fmt.Errorf() as the function is return the error var (it not print out to stdout) -> handle by using fmt.Println()

…change the way of error checking to make it having less line of codes
@geohot geohot merged commit 00f052c into geohot:master May 3, 2019
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