Open flokli opened 11 months ago
grpc.NewClient already supports connecting to unix domain sockets, and accepts a string anyways.
As a quick fix, detect the address starting with unix:// and don't add the port.
address
unix://
In the long term, we might want to deprecate host and port cmdline args in favor of a single address arg.
host
port
Fixes #654.
Merging #680 (55d7e7a) into master (d1bc03a) will increase coverage by 0.02%. The diff coverage is 100.00%.
0.02%
100.00%
@ktr0731 poke ;-)
grpc.NewClient already supports connecting to unix domain sockets, and accepts a string anyways.
As a quick fix, detect the
address
starting withunix://
and don't add the port.In the long term, we might want to deprecate
host
andport
cmdline args in favor of a singleaddress
arg.Fixes #654.