summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_config.go')
-rw-r--r--server_config.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/server_config.go b/server_config.go
index 7b11e309..3714971c 100644
--- a/server_config.go
+++ b/server_config.go
@@ -41,7 +41,7 @@ type ServerConfig struct {
Pool *Config
// values defines set of values to be passed to the command context.
- mu *sync.Mutex
+ mu sync.Mutex
env map[string]string
}
@@ -54,8 +54,6 @@ func (cfg *ServerConfig) InitDefaults() error {
cfg.Pool = &Config{}
}
- cfg.mu = &sync.Mutex{}
-
return cfg.Pool.InitDefaults()
}