Skip to content

Commit

Permalink
*: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: xhe <xw897002528@gmail.com>
  • Loading branch information
xhebox committed Sep 13, 2022
1 parent dc31c73 commit 529a1a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions conf/weirproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ security:
# that said, it is both a client and a server object
client: # server object
# proxy SQL or internal HTTP port will all use this
skip-ca: true
auto-certs: true
advance:
# ignore-wrong-namespace: true
Expand Down
2 changes: 0 additions & 2 deletions pkg/manager/config/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ func (srv *ConfigManager) Init(ctx context.Context, addrs []string, cfg config.A
}

var err error
// local connection, let us skip ca check
scfg.SkipCA = true
etcdConfig.TLS, err = security.BuildClientTLSConfig(logger, scfg, "frontend")
if err != nil {
return errors.Wrapf(err, "create etcd config center error")
Expand Down

0 comments on commit 529a1a8

Please sign in to comment.