Make computing flake rates print out percentages (with fixed 2 decimal precision) rather than floats.

pull/11602/head
Andriy Dzikh 2021-06-07 13:49:40 -07:00
parent a80f3bc5ae
commit 9e7f1ebbf0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func main() {
fmt.Println("Environment,Test,Flake Rate")
for environment, environmentSplit := range flakeRates {
for test, flakeRate := range environmentSplit {
fmt.Printf("%s,%s,%f\n", environment, test, flakeRate)
fmt.Printf("%s,%s,%.2f\n", environment, test, flakeRate*100)
}
}
}