You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/08/12 07:51:13 UTC

[servicecomb-kie] 01/01: Fix: log print without error message

This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch bug
in repository https://gitbox.apache.org/repos/asf/servicecomb-kie.git

commit 887be6f93b896c89aa129149702defc56ae2385f
Author: little-cui <su...@qq.com>
AuthorDate: Thu Aug 12 15:50:35 2021 +0800

    Fix: log print without error message
---
 examples/dev/kie-conf.yaml | 8 ++++----
 go.mod                     | 2 +-
 go.sum                     | 2 ++
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/examples/dev/kie-conf.yaml b/examples/dev/kie-conf.yaml
index 7f57ab2..95affdf 100644
--- a/examples/dev/kie-conf.yaml
+++ b/examples/dev/kie-conf.yaml
@@ -8,10 +8,10 @@ db:
   poolSize: 10
   timeout: 5m
   sslEnabled: false
-  rootCAFile: /opt/kie/ca.crt
-  certFile: /opt/kie/server.cer
-  keyFile: /opt/kie/server_key.pem
-  certPwdFile: /opt/kie/cert_pwd
+  rootCAFile: ./ssl/trust.cer
+  certFile: ./ssl/server.cer
+  keyFile: ./ssl/server_key.pem
+  certPwdFile: ./ssl/cert_pwd
 rbac:
   enabled: false
   rsaPublicKeyFile: ./examples/dev/public.key
\ No newline at end of file
diff --git a/go.mod b/go.mod
index 6a9b868..ad27547 100644
--- a/go.mod
+++ b/go.mod
@@ -10,7 +10,7 @@ require (
 	github.com/go-chassis/openlog v1.1.3
 	github.com/go-chassis/seclog v1.3.0
 	github.com/hashicorp/serf v0.9.5
-	github.com/little-cui/etcdadpt v0.1.0
+	github.com/little-cui/etcdadpt v0.1.1-0.20210812074633-41cdf7ebed00
 	github.com/satori/go.uuid v1.2.0
 	github.com/stretchr/testify v1.7.0
 	github.com/urfave/cli v1.22.4
diff --git a/go.sum b/go.sum
index 96a03cc..5d2ffba 100644
--- a/go.sum
+++ b/go.sum
@@ -497,6 +497,8 @@ github.com/little-cui/etcdadpt v0.0.0-20210810075513-c1b3b553bd16 h1:81fTtq/xBcM
 github.com/little-cui/etcdadpt v0.0.0-20210810075513-c1b3b553bd16/go.mod h1:gxgrmwRiKs5w5qKEt2d3QOpdrHACnBORzreniLoH0S0=
 github.com/little-cui/etcdadpt v0.1.0 h1:yfVTl04zUE2SFN+3xbBRnFgmXOeIxAqc10IDBwO20FY=
 github.com/little-cui/etcdadpt v0.1.0/go.mod h1:gxgrmwRiKs5w5qKEt2d3QOpdrHACnBORzreniLoH0S0=
+github.com/little-cui/etcdadpt v0.1.1-0.20210812074633-41cdf7ebed00 h1:TwCL17fRBqzrelj5Ea+QW0u6T0JFieLduquAsRG6UX8=
+github.com/little-cui/etcdadpt v0.1.1-0.20210812074633-41cdf7ebed00/go.mod h1:gxgrmwRiKs5w5qKEt2d3QOpdrHACnBORzreniLoH0S0=
 github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
 github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a h1:TpvdAwDAt1K4ANVOfcihouRdvP+MgAfDWwBuct4l6ZY=
 github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=