Skip to content

Commit

Permalink
fix env var typo
Browse files Browse the repository at this point in the history
  • Loading branch information
meiji163 committed Feb 15, 2024
1 parent bf05da3 commit 97fe554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/haproxy_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (settings *HAProxyConfigurationSettings) postReadAdjustments() error {
envValue = GLB().ProxyReadOnly
case "glb_mysql_proxy_writers":
envValue = GLB().ProxyWriters
case "glb_mysql_proxy_testing":
case "glb_mysql_proxy_local_testing":
envValue = GLB().ProxyTesting
default:
envValue = os.Getenv(submatch[1])
Expand Down

0 comments on commit 97fe554

Please sign in to comment.