Skip to content

Commit b0cd3ca

Browse files
committed
lint
Signed-off-by: bitliu <[email protected]>
1 parent 3a8e104 commit b0cd3ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/semantic-router/pkg/cache/cache_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,9 +1734,7 @@ func BenchmarkHybridVsMilvus(b *testing.B) {
17341734
}
17351735
}
17361736
resultsDir := filepath.Join(projectRoot, "benchmark_results", "hybrid_vs_milvus")
1737-
if err := os.MkdirAll(resultsDir, 0755); err != nil {
1738-
b.Logf("Warning: Could not create results directory: %v", err)
1739-
}
1737+
_ = os.MkdirAll(resultsDir, 0755)
17401738
timestamp := time.Now().Format("20060102_150405")
17411739
csvPath := filepath.Join(resultsDir, fmt.Sprintf("results_%s.csv", timestamp))
17421740
csvFile, err := os.Create(csvPath)

0 commit comments

Comments
 (0)