Skip to content
Snippets Groups Projects
Commit 7a9cc620 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

float percentage

parent 275f8451
Branches
Tags
2 merge requests!91"Overhaul Architecture",!90Develop
......@@ -56,7 +56,7 @@ func main() {
}
}
percentage := errors / len(p) * 100
percentage := float64(errors) / float64(len(p)) * 100.0
log.Debugf("%v errors", errors)
log.Debugf("%v percent failed", percentage)
}
......@@ -93,7 +93,7 @@ func appendix(c chan string, stop chan bool,p chan []string) {
paths = append(paths, path)
log.Debug(path)
case sig = <-stop:
log.Debug("Signal received: %v", sig)
log.Debugf("Signal received: %v", sig)
}
if sig {break}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment