summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
committerWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
commite863c6cdcf7c318fb251e096bf92812ed98ea03c (patch)
tree9eb2cd049dfae0482211a6a212d28cc48304f109 /config.go
parent67b88c9914d922314ce7cd8d3624d64812647758 (diff)
better server re-configuration
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.go b/config.go
index 0ddaa14e..6813fd1e 100644
--- a/config.go
+++ b/config.go
@@ -25,7 +25,7 @@ type Config struct {
DestroyTimeout time.Duration
}
-// Configure returns error if cfg not valid
+// Reconfigure returns error if cfg not valid
func (cfg *Config) Valid() error {
if cfg.NumWorkers == 0 {
return fmt.Errorf("cfg.NumWorkers must be set")