diff --git a/integration-tests/testconfig/automation/config.go b/integration-tests/testconfig/automation/config.go index 93697b869a6..e6df7714af7 100644 --- a/integration-tests/testconfig/automation/config.go +++ b/integration-tests/testconfig/automation/config.go @@ -169,10 +169,7 @@ func (c *AutomationConfig) Validate() error { if err := c.PublicConfig.Validate(); err != nil { return err } - if err := c.RegistrySettings.Validate(); err != nil { - return err - } - return nil + return c.RegistrySettings.Validate() } type PluginConfig struct {