Skip to content

Commit f4ee49d

Browse files
committed
chore: ssl support
1 parent cff14c5 commit f4ee49d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SourcePlusPlus.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ namespace SourcePlusPlus {
9191
config.collectorAddress = probeConfig.skywalking.collector.backend_service;
9292
config.serviceName = probeConfig.skywalking.agent.service_name;
9393
config.authorization = probeConfig.skywalking.agent.authentication;
94-
// TODO: logReporterActive doesn't exist?
95-
config.secure = false; //todo: fix this and SW_RECEIVER_GRPC_SSL_ENABLED=false
94+
config.secure = probeConfig.spp.ssl_enabled;
9695

9796
debugLog("Connecting to SkyWalking with config ", config);
9897

0 commit comments

Comments
 (0)