summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 406bc0a0..d6efa132 100644
--- a/server.go
+++ b/server.go
@@ -166,7 +166,7 @@ func (s *Server) Reconfigure(cfg *ServerConfig) error {
pWatcher := s.pController
s.mu.Unlock()
- pool, err := NewPool(cfg.makeCommand(), s.factory, *cfg.Pool)
+ pool, err := NewPool(s.cfg.makeCommand(), s.factory, *cfg.Pool)
if err != nil {
return err
}