Skip to content

Commit

Permalink
fix: SSL configuration docs for failover case (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
guli-nl authored Aug 18, 2023
1 parent cd684e7 commit 07bcd21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/postgrex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ defmodule Postgrex do
{
"test-instance-1.xyz.eu-west-1.rds.amazonaws.com",
5432,
[ssl: [server_name_indication: String.to_charlist("test-instance-1.xyz.eu-west-1.rds.amazonaws.com")]]
[ssl_opts: [server_name_indication: String.to_charlist("test-instance-1.xyz.eu-west-1.rds.amazonaws.com")]]
},
(...),
{
"test-instance-2.xyz.eu-west-1.rds.amazonaws.com",
5432,
[ssl: [server_name_indication: String.to_charlist("test-instance-2.xyz.eu-west-1.rds.amazonaws.com")]]
[ssl_opts: [server_name_indication: String.to_charlist("test-instance-2.xyz.eu-west-1.rds.amazonaws.com")]]
}
]
Expand Down

0 comments on commit 07bcd21

Please sign in to comment.