Skip to content

Commit

Permalink
use lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Jaminais-Grellier committed Jan 5, 2024
1 parent 5079a2c commit 8d97cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftbp/client_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8d97cf0

Please sign in to comment.