Skip to content

Commit dda8890

Browse files
authored
Merge pull request #566 from pawelpaszki/fix-odh-release
fix: invalid logf usage preventing odh release from building
2 parents 42a253d + e283a45 commit dda8890

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/odh/raytune_oai_mr_grpc_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ func raytuneHpo(t *testing.T, numGpus int) {
7272
outputPath := filepath.Join(outputDir, fileName)
7373
cmd := exec.Command("curl", "-L", "-o", outputPath, "--create-dirs", url)
7474
if err := cmd.Run(); err != nil {
75-
test.T().Logf(fmt.Sprintf("Failed to download %s: %v\n", url, err.Error()))
75+
test.T().Logf("Failed to download %s: %v\n", url, err.Error())
7676
test.Expect(err).ToNot(HaveOccurred())
7777
}
78-
test.T().Logf("File '%s' downloaded sucessfully", fileName)
78+
test.T().Logf("File '%s' downloaded successfully", fileName)
7979
}
8080
defer os.RemoveAll(outputDir)
8181

@@ -84,7 +84,7 @@ func raytuneHpo(t *testing.T, numGpus int) {
8484
test.T().Logf("Failed to start the Model Registry service with PostgreSQL: %v\n", err.Error())
8585
test.Expect(err).ToNot(HaveOccurred())
8686
} else {
87-
test.T().Logf(fmt.Sprint("Successfully started the Model Registry service with PostgreSQL"))
87+
test.T().Log("Successfully started the Model Registry service with PostgreSQL")
8888
}
8989

9090
// Define the regular(non-admin) user

0 commit comments

Comments
 (0)