mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
Remove duplicate check
This commit is contained in:
@@ -223,7 +223,7 @@ func (c *Config) ConfigureTLS() error {
|
||||
return err
|
||||
}
|
||||
foundClientCert = true
|
||||
} else if c.TLSConfig.ClientCert != "" || c.TLSConfig.ClientKey != "" {
|
||||
} else {
|
||||
return fmt.Errorf("Both client cert and client key must be provided")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user