From aff515dc67c304a402dca48a1c7cbfd9fef570a3 Mon Sep 17 00:00:00 2001 From: Timur Naurazbaev Date: Fri, 17 Apr 2020 18:49:40 +0300 Subject: [PATCH] env: check GRPC_GO_IGNORE_TXT_ERRORS env var (#3532) --- internal/envconfig/envconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/envconfig/envconfig.go b/internal/envconfig/envconfig.go index ae6c8972fd79..73931a94bcad 100644 --- a/internal/envconfig/envconfig.go +++ b/internal/envconfig/envconfig.go @@ -34,5 +34,5 @@ var ( // Retry is set if retry is explicitly enabled via "GRPC_GO_RETRY=on". Retry = strings.EqualFold(os.Getenv(retryStr), "on") // TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false"). - TXTErrIgnore = !strings.EqualFold(os.Getenv(retryStr), "false") + TXTErrIgnore = !strings.EqualFold(os.Getenv(txtErrIgnoreStr), "false") )