From 1f6eff917c739a4144c4fb54b1b92fad01b4c529 Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 13 Oct 2023 13:11:03 +0200 Subject: [PATCH] fix: host in db_handler is already a charlist --- VERSION | 2 +- lib/supavisor/db_handler.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 583b27ac..62ea2590 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.12 +0.9.13 diff --git a/lib/supavisor/db_handler.ex b/lib/supavisor/db_handler.ex index 0158c1e9..1484284c 100644 --- a/lib/supavisor/db_handler.ex +++ b/lib/supavisor/db_handler.ex @@ -329,7 +329,7 @@ defmodule Supavisor.DbHandler do [ verify: :verify_peer, cacerts: [auth.upstream_tls_ca], - server_name_indication: String.to_charlist(auth.host), + server_name_indication: auth.host, customize_hostname_check: [{:match_fun, fn _, _ -> true end}] ]