diff options
author | Wolfy-J <[email protected]> | 2018-10-01 14:39:04 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2018-10-01 14:39:04 +0300 |
commit | 9436485748102ce89461fe8fddf05a0651be5c3e (patch) | |
tree | 5f73f715a11e72c18521c246462c54ef990d7f0b /service | |
parent | 1daae8ee88c518f7e0296099d3671f54cc0e0a6c (diff) |
Update config.go
Diffstat (limited to 'service')
-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. |