Skip to content

Commit 4fd1fdf

Browse files
authored
Merge pull request #290 from sdcio/remoteSchemaChangeToInterface
Remote Schema Client change grpc connection to interface type
2 parents 1dc332e + 90804f3 commit 4fd1fdf

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)