1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

Comment typo in gRPC subscriber (#1304)

This commit is contained in:
Jake Sanders 2020-03-05 14:55:46 +00:00 committed by GitHub
parent d807dac2a7
commit a851b9db7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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