This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/test by this push:
new 5c8b9ad SCB-2094 Bug fixes: Unavailable SSL
5c8b9ad is described below
commit 5c8b9ade4347197d7dd54627ec8d839e3138ebda
Author: little-cui <[email protected]>
AuthorDate: Fri Dec 4 23:27:11 2020 +0800
SCB-2094 Bug fixes: Unavailable SSL
---
server/server.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/server.go b/server/server.go
index 2453151..5cc66f7 100644
--- a/server/server.go
+++ b/server/server.go
@@ -111,6 +111,7 @@ func (s *ServiceCenterServer) initDatasource() {
kind := datasource.ImplName(config.GetString("registry.kind", "",
config.WithStandby("registry_plugin")))
if err := datasource.Init(datasource.Options{
PluginImplName: kind,
+ SslEnabled: config.GetInt("ssl.mode", 1,
config.WithStandby("ssl_mode")) != 0,
InstanceTTL: config.GetRegistry().InstanceTTL,
SchemaEditable: config.GetRegistry().SchemaEditable,
CompactInterval: config.GetRegistry().CompactInterval,