(addr string)
| 92 | } |
| 93 | |
| 94 | func clientTargetForAddress(addr string) string { |
| 95 | // grpc.NewClient defaults to the DNS resolver. Use the passthrough resolver |
| 96 | // for socket paths so the custom dialer receives the raw endpoint string. |
| 97 | if strings.HasPrefix(addr, "/") { |
| 98 | return "passthrough:///" + addr |
| 99 | } |
| 100 | return addr |
| 101 | } |
| 102 | |
| 103 | func (r *RuntimeService) Close(ctx context.Context) error { |
| 104 | if r == nil { |
no outgoing calls
no test coverage detected
searching dependent graphs…