From 8d97cf0ba917b07885bfa6212a0c8aa6a6dd2561 Mon Sep 17 00:00:00 2001 From: Dorian Jaminais-Grellier Date: Fri, 5 Jan 2024 15:05:27 -0800 Subject: [PATCH] use lower case --- thriftbp/client_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thriftbp/client_pool.go b/thriftbp/client_pool.go index 1039845e1..001962ef2 100644 --- a/thriftbp/client_pool.go +++ b/thriftbp/client_pool.go @@ -434,7 +434,7 @@ func NewCustomClientPoolWithContext( return newClientPool(ctx, cfg, genAddr, protoFactory, middlewares...) } -const ThriftHostnameHeader = "Thrift-Hostname" +const ThriftHostnameHeader = "thrift-hostname" func ThriftHostnameHeaderMiddleware(hostname string) thrift.ClientMiddleware { return func(next thrift.TClient) thrift.TClient {