add createStore() funcs and skip consul TLS test
This commit is contained in:
parent
38cc36980f
commit
b153e90ec5
11 changed files with 121 additions and 105 deletions
|
@ -110,7 +110,6 @@ type ClientTLS struct {
|
|||
func (clientTLS *ClientTLS) CreateTLSConfig() (*tls.Config, error) {
|
||||
var err error
|
||||
caPool := x509.NewCertPool()
|
||||
// TODO : error if CA=="" || Cert=="" || Key==""
|
||||
if clientTLS.CA != "" {
|
||||
var ca []byte
|
||||
if _, errCA := os.Stat(clientTLS.CA); errCA == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue