(context.Context)
| 176 | } |
| 177 | |
| 178 | func (s *failingCacheStorage) ResetWithContext(context.Context) error { |
| 179 | s.mu.Lock() |
| 180 | defer s.mu.Unlock() |
| 181 | s.data = make(map[string][]byte) |
| 182 | s.errs = make(map[string]error) |
| 183 | return nil |
| 184 | } |
| 185 | |
| 186 | func (s *failingCacheStorage) Reset() error { |
| 187 | return s.ResetWithContext(context.Background()) |