diff options
Diffstat (limited to 'plugins/jobs/config.go')
-rw-r--r-- | plugins/jobs/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jobs/config.go b/plugins/jobs/config.go index 74e4a811..bb042ec9 100644 --- a/plugins/jobs/config.go +++ b/plugins/jobs/config.go @@ -36,10 +36,12 @@ func (c *Config) InitDefaults() error { return errors.E(op, err) } - if c.poolCfg != nil { - c.poolCfg.InitDefaults() + if c.poolCfg == nil { + c.poolCfg = &poolImpl.Config{} } + c.poolCfg.InitDefaults() + return nil } |