go-grpc-k8s-resolver icon indicating copy to clipboard operation
go-grpc-k8s-resolver copied to clipboard

Incompatibility due to gRPC change

Open gustavohmsilva opened this issue 1 year ago • 0 comments

Target. Endpoint is no longer a string, now, it is a function that returns a string, which breaks this: https://github.com/tcfw/go-grpc-k8s-resolver/blob/f29a51394f26ad8d163d556e6e53cc167cc6a895/builder.go#L32C40-L32C48

the solution should be:

host, port, err := parseTarget(target.Endpoint(), defaultPort)

gustavohmsilva avatar Dec 04 '23 16:12 gustavohmsilva