Skip to content

Commit

Permalink
fix: add check for SSL_TRUSTSTORE exists
Browse files Browse the repository at this point in the history
  • Loading branch information
iryabov committed Jun 6, 2024
1 parent 0e74d43 commit 5f31a75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object AdminMessageSender : AgentMessageSender<Action> {
val transport = HttpAgentMessageTransport(
Configuration.parameters[ParameterDefinitions.DRILL_API_URL],
Configuration.parameters[ParameterDefinitions.DRILL_API_KEY],
Configuration.parameters[ParameterDefinitions.SSL_TRUSTSTORE].let(::resolvePath),
Configuration.parameters[ParameterDefinitions.SSL_TRUSTSTORE].takeIf(String::isNotEmpty)?.let(::resolvePath) ?: "",
Configuration.parameters[ParameterDefinitions.SSL_TRUSTSTORE_PASSWORD],
gzipCompression = false
)
Expand Down

0 comments on commit 5f31a75

Please sign in to comment.