Wire up client bridges

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2023-02-05 12:28:44 -08:00
parent 4b1ebef3c5
commit 9e5c207e4c
5 changed files with 56 additions and 20 deletions

View File

@@ -47,7 +47,7 @@ func NewTaskClient(client interface{}) (v2.TaskService, error) {
return &grpcBridge{client}, nil
}
return nil, fmt.Errorf("unsupported client type %T", client)
return nil, fmt.Errorf("unsupported shim client type %T", client)
}
// grpcBridge implements `v2.TaskService` interface for GRPC shim server.