go-grpc-k8s-resolver
go-grpc-k8s-resolver copied to clipboard
Incompatibility due to gRPC change
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)