Skip to content

Commit 471c90c

Browse files
committed
Add timeSuffix into the filename
1 parent 964310d commit 471c90c

File tree

1 file changed

+1
-1
lines changed
  • pkg/monitortests/clusterversionoperator/clusterversionchecker

1 file changed

+1
-1
lines changed

pkg/monitortests/clusterversionoperator/clusterversionchecker/monitortest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (w *monitor) EvaluateTestsFromConstructedIntervals(ctx context.Context, fin
7979
}
8080

8181
func (w *monitor) WriteContentToStorage(ctx context.Context, storageDir, timeSuffix string, finalIntervals monitorapi.Intervals, finalResourceState monitorapi.ResourcesMap) error {
82-
outputFile := filepath.Join(storageDir, "cluster-version-checker.json")
82+
outputFile := filepath.Join(storageDir, fmt.Sprintf("cluster-version-checker%s.json", timeSuffix))
8383
data, err := json.Marshal(w.summary)
8484
if err != nil {
8585
return fmt.Errorf("unable to marshal summary: %w", err)

0 commit comments

Comments
 (0)