()
| 77 | } |
| 78 | |
| 79 | func (s *Server) currentConfig() config.Config { |
| 80 | s.mu.RLock() |
| 81 | defer s.mu.RUnlock() |
| 82 | return s.Config |
| 83 | } |
| 84 | |
| 85 | func (s *Server) switchVaultRoot(nextPath string) (*vault.Vault, error) { |
| 86 | cfg := s.currentConfig() |
no outgoing calls
no test coverage detected