Skip to content

Commit

Permalink
check GRPC_GO_IGNORE_TXT_ERRORS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Naurazbaev authored and Timur Naurazbaev committed Apr 17, 2020
1 parent c97e1d3 commit 0cdfae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/envconfig/envconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)

0 comments on commit 0cdfae6

Please sign in to comment.