diff options
author | Wolfy-J <[email protected]> | 2018-09-10 14:45:23 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-10 14:45:23 +0300 |
commit | 7dae5ddd0dc0e005fba1cdb5a2ef8afe3b61b6fb (patch) | |
tree | b47968331ce7044832175800f3b6d2dc87043fd2 /server_config.go | |
parent | 7ab1e77f2db902cf8a485e3a28bfdbd58a613dc9 (diff) |
minor config improvements
Diffstat (limited to 'server_config.go')
-rw-r--r-- | server_config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server_config.go b/server_config.go index 51f8245b..1d8c281c 100644 --- a/server_config.go +++ b/server_config.go @@ -35,8 +35,8 @@ type ServerConfig struct { // SetDefaults sets missing values to their default values. func (cfg *ServerConfig) SetDefaults() { - if c.Workers.Relay == "" { - c.Workers.Relay = "pipes" + if cfg.Relay == "" { + cfg.Relay = "pipes" } if cfg.RelayTimeout == 0 { |