Comment typo in gRPC subscriber (#1304)

This commit is contained in:
Jake Sanders 2020-03-05 14:55:46 +00:00 committed by Vasiliy Tolstov
parent b48f919b7b
commit b0164dca94

View File

@ -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)
} }