From 6c17c45cc5a52aa58f4b9f140aecae80820b0f0a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 15 Apr 2020 20:40:36 +0300 Subject: Typos fix --- server.go | 2 +- server_config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index d6efa132..406bc0a0 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(s.cfg.makeCommand(), s.factory, *cfg.Pool) + pool, err := NewPool(cfg.makeCommand(), s.factory, *cfg.Pool) if err != nil { return err } diff --git a/server_config.go b/server_config.go index 3714971c..32ff0ebc 100644 --- a/server_config.go +++ b/server_config.go @@ -21,7 +21,7 @@ type ServerConfig struct { // Command includes command strings with all the parameters, example: "php worker.php pipes". Command string - // User under which process is starting + // User under which process will be started User string // CommandProducer overwrites -- cgit v1.2.3