()
| 410 | } |
| 411 | |
| 412 | func (s *Topom) Reload() error { |
| 413 | s.mu.Lock() |
| 414 | defer s.mu.Unlock() |
| 415 | _, err := s.newContext() |
| 416 | if err != nil { |
| 417 | return err |
| 418 | } |
| 419 | defer s.dirtyCacheAll() |
| 420 | return nil |
| 421 | } |
| 422 | |
| 423 | func (s *Topom) serveAdmin() { |
| 424 | if s.IsClosed() { |
nothing calls this directly
no test coverage detected