diff options
Diffstat (limited to 'service/http/config.go')
-rw-r--r-- | service/http/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/http/config.go b/service/http/config.go index 2cfe1ba2..5be42ae6 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -35,13 +35,13 @@ func (c *Config) Hydrate(cfg service.Config) error { return nil } - c.Workers.SetDefaults() - c.Workers.UpscaleDurations() - if err := c.Valid(); err != nil { return err } + c.Workers.SetDefaults() + c.Workers.UpscaleDurations() + return nil } |