diff options
-rw-r--r-- | service/http/config.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/service/http/config.go b/service/http/config.go index 14738d2e..5a2c8768 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -70,11 +70,7 @@ func (c *Config) Hydrate(cfg service.Config) error { c.Workers.UpscaleDurations() - if err := c.Valid(); err != nil { - return err - } - - return nil + return c.Valid() } // Valid validates the configuration. |