Ignore gRPC Proxy (#1205)

This commit is contained in:
ben-toogood 2020-02-17 08:14:45 +00:00 committed by Vasiliy Tolstov
parent 4a6f438db2
commit 5b60299d47

View File

@ -576,11 +576,6 @@ func (g *grpcClient) Publish(ctx context.Context, p client.Message, opts ...clie
topic := p.Topic()
// get proxy topic
if prx := os.Getenv("MICRO_PROXY"); len(prx) > 0 {
options.Exchange = prx
}
// get the exchange
if len(options.Exchange) > 0 {
topic = options.Exchange