()
| 215 | } |
| 216 | |
| 217 | func (s *levelsController) cleanupLevels() error { |
| 218 | var firstErr error |
| 219 | for _, l := range s.levels { |
| 220 | if err := l.close(); err != nil && firstErr == nil { |
| 221 | firstErr = err |
| 222 | } |
| 223 | } |
| 224 | return firstErr |
| 225 | } |
| 226 | |
| 227 | // dropTree picks all tables from all levels, creates a manifest changeset, |
| 228 | // applies it, and then decrements the refs of these tables, which would result |
no test coverage detected