Fix rove-reverse-proxy as well
This commit is contained in:
parent
84163ce9e1
commit
55cd4fe4a5
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func run() error {
|
|||
fmt.Printf("Hosting reverse-proxy on %s for %s\n", address, endpoint)
|
||||
mux := runtime.NewServeMux()
|
||||
opts := []grpc.DialOption{grpc.WithInsecure()}
|
||||
err := rove.RegisterRoveServerHandlerFromEndpoint(ctx, mux, endpoint, opts)
|
||||
err := rove.RegisterRoveHandlerFromEndpoint(ctx, mux, endpoint, opts)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue