mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-19 09:54:09 +02:00
hotfix(env): read some settings with case sensitivity
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ func (s *Source) readDNS() (dns settings.DNS, err error) {
|
||||
}
|
||||
|
||||
func (s *Source) readDNSServerAddress() (address netip.Addr, err error) {
|
||||
key, value := s.getEnvWithRetro("DNS_ADDRESS", "DNS_PLAINTEXT_ADDRESS")
|
||||
key, value := s.getEnvWithRetro("DNS_ADDRESS", []string{"DNS_PLAINTEXT_ADDRESS"})
|
||||
if value == "" {
|
||||
return address, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user