Update hack/jenkins/test-flake-chart/report_flakes/report_flake.go

Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
pull/19217/head
錦南路之花 2024-06-25 22:07:04 +02:00 committed by Medya Ghazizadeh
parent c83ad2c1cb
commit 89d6f7c93a
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func getTestSummaryFromGCP(pr, rootJob, env string, client *storage.Client) (*Sh
func GetFlakeRate(client *storage.Client) (map[string]map[string]float64, error) {
btk := client.Bucket("minikube-flake-rate")
obj := btk.Object("flake_rates.csv")
reader, err := obj.NewReader(context.TODO())
reader, err := obj.NewReader(context.Background())
if err != nil {
return nil, fmt.Errorf("failed to read the flake rate file: %v", err)
}