We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c908a52 commit 613913dCopy full SHA for 613913d
internal/pgbackrest/config.go
@@ -472,7 +472,7 @@ func serverConfig(cluster *v1beta1.PostgresCluster) iniSectionSet {
472
// going to workaround the issue by allowing the user to add an annotation to
473
// enable IPv6. We will check for that annotation here and override the
474
// "tls-server-address" setting accordingly.
475
- if strings.ToLower(cluster.Annotations[naming.PGBackRestIPVersion]) == "ipv6" {
+ if strings.EqualFold(cluster.Annotations[naming.PGBackRestIPVersion], "ipv6") {
476
global.Set("tls-server-address", "::")
477
}
478
0 commit comments