Merge pull request #8747 from Iceber/shim_ttrpc_service

shim: change ttrpcService and ttrpcServerOptioner to exported interfaces
This commit is contained in:
Maksym Pavlenko
2023-07-18 17:12:22 -07:00
committed by GitHub
5 changed files with 21 additions and 10 deletions

View File

@@ -69,9 +69,12 @@ func init() {
}, nil
},
})
}
var (
_ = shim.TTRPCServerOptioner(&taskServiceWithFp{})
)
type taskServiceWithFp struct {
fps map[string]*failpoint.Failpoint
local taskapi.TaskService