File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ type HeaderProvider interface {
1414 Headers (ctx context.Context ) (map [string ]string , error )
1515}
1616
17- type HeaderProviderFunc func (ctx context.Context ) (map [string ]string , error )
17+ type headerProviderFunc func (ctx context.Context ) (map [string ]string , error )
1818
19- func (f HeaderProviderFunc ) Headers (ctx context.Context ) (map [string ]string , error ) {
19+ func (f headerProviderFunc ) Headers (ctx context.Context ) (map [string ]string , error ) {
2020 return f (ctx )
2121}
2222
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ func WithTracerProvider(provider trace.TracerProvider) Opt {
234234
235235func WithNOPLookup () Opt {
236236 return func (c * clientConfig ) {
237- c .nopInfoHeaderProvider = HeaderProviderFunc (func (ctx context.Context ) (map [string ]string , error ) {
237+ c .nopInfoHeaderProvider = headerProviderFunc (func (ctx context.Context ) (map [string ]string , error ) {
238238 return map [string ]string {
239239 "x-include-nop-info" : "true" ,
240240 }, nil
You can’t perform that action at this time.
0 commit comments