Skip to content

Commit 90804f3

Browse files
committed
Remote Schema Client change grpc connection to interface type
1 parent 1dc332e commit 90804f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/schema/remote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type remoteClient struct {
4747
getOpts []ttlcache.Option[cacheKey, *sdcpb.GetSchemaResponse]
4848
}
4949

50-
func NewRemoteClient(cc *grpc.ClientConn, cacheConfig *config.RemoteSchemaCache) Client {
50+
func NewRemoteClient(cc grpc.ClientConnInterface, cacheConfig *config.RemoteSchemaCache) Client {
5151
// no cache
5252
if cacheConfig == nil {
5353
return &remoteClient{

0 commit comments

Comments
 (0)