Skip to content

Commit 0734d3a

Browse files
Merge pull request #30344 from hongkailiu/knownimagechecker-no-write
NO-JIRA: known-image-checker: do nothing in WriteContentToStorage
2 parents 618d3bd + 0f789da commit 0734d3a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/monitortests/testframework/knownimagechecker/monitortest.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"bytes"
55
"context"
66
"fmt"
7-
"path/filepath"
87
"regexp"
98
"sort"
109
"strings"
@@ -15,8 +14,6 @@ import (
1514
exutil "github.com/openshift/origin/test/extended/util"
1615
"github.com/openshift/origin/test/extended/util/image"
1716

18-
monitorserialization "github.com/openshift/origin/pkg/monitor/serialization"
19-
2017
imagev1 "github.com/openshift/client-go/image/clientset/versioned/typed/image/v1"
2118
"github.com/openshift/library-go/pkg/image/reference"
2219
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -213,7 +210,7 @@ func (w *clusterImageValidator) EvaluateTestsFromConstructedIntervals(ctx contex
213210
}
214211

215212
func (*clusterImageValidator) WriteContentToStorage(ctx context.Context, storageDir, timeSuffix string, finalIntervals monitorapi.Intervals, finalResourceState monitorapi.ResourcesMap) error {
216-
return monitorserialization.EventsToFile(filepath.Join(storageDir, fmt.Sprintf("e2e-events%s.json", timeSuffix)), finalIntervals)
213+
return nil
217214
}
218215

219216
func (*clusterImageValidator) Cleanup(ctx context.Context) error {

0 commit comments

Comments
 (0)