@@ -97,12 +97,11 @@ func TestCopyRaw_CachingErrorHandling(t *testing.T) {
9797 store := dummyStore {
9898 ReadRawCb : func (ctx context.Context , reference DataReference ) (closer io.ReadCloser , e error ) {
9999 readerCalled = true
100- //nolint:govet,staticcheck
101100 return ioutils .NewBytesReadCloser (bigD ), flyteErr .Wrapf (ErrFailedToWriteCache , errors .New (dummyErrorMsg ), "Failed to Cache the metadata" )
102101 },
103102 WriteRawCb : func (ctx context.Context , reference DataReference , size int64 , opts Options , raw io.Reader ) error {
104103 writerCalled = true
105- return flyteErr .Wrapf (ErrFailedToWriteCache , errors .New (dummyErrorMsg ), "Failed to Cache the metadata" ) //nolint:govet,staticcheck
104+ return flyteErr .Wrapf (ErrFailedToWriteCache , errors .New (dummyErrorMsg ), "Failed to Cache the metadata" )
106105 },
107106 }
108107
@@ -124,11 +123,11 @@ func TestCopyRaw_CachingErrorHandling(t *testing.T) {
124123 store := dummyStore {
125124 ReadRawCb : func (ctx context.Context , reference DataReference ) (closer io.ReadCloser , e error ) {
126125 readerCalled = true
127- return ioutils .NewBytesReadCloser (bigD ), errors .New (dummyErrorMsg ) //nolint:govet,staticcheck
126+ return ioutils .NewBytesReadCloser (bigD ), errors .New (dummyErrorMsg )
128127 },
129128 WriteRawCb : func (ctx context.Context , reference DataReference , size int64 , opts Options , raw io.Reader ) error {
130129 writerCalled = true
131- return errors .New (dummyErrorMsg ) //nolint:govet,staticcheck
130+ return errors .New (dummyErrorMsg )
132131 },
133132 }
134133
0 commit comments