Skip to content

Commit

Permalink
chore: fix error name
Browse files Browse the repository at this point in the history
  • Loading branch information
obbap1 committed Oct 21, 2021
1 parent fa9d267 commit 346f454
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion leader/leader.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func main() {
log.Fatal(err)
}
if decrementedConfidence := float64(confidence) - 0.1; decrementedConfidence <= failurePoint {
fmt.Printf("This process with ip %s and pid %s now has confidence %f which is below the failure point %f and will be marked as dead", v[Ip], v[Pid], decrementedConfidence, failurePoint)
fmt.Printf("This process with ip %s and pid %s now has confidence %f which is below or equal to the failure point %f and will be marked as dead", v[Ip], v[Pid], decrementedConfidence, failurePoint)
tableData = append(tableData[:index], tableData[index+1:]...)
totalConnected--
} else {
Expand Down

0 comments on commit 346f454

Please sign in to comment.