Comment typo in gRPC subscriber (#1304)
This commit is contained in:
parent
b48f919b7b
commit
b0164dca94
@ -178,7 +178,7 @@ func (g *grpcServer) createSubHandler(sb *subscriber, opts server.Options) broke
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
msg := p.Message()
|
msg := p.Message()
|
||||||
// if we don't ave headers, create empty map
|
// if we don't have headers, create empty map
|
||||||
if msg.Header == nil {
|
if msg.Header == nil {
|
||||||
msg.Header = make(map[string]string)
|
msg.Header = make(map[string]string)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user