chain unary interceptor

This commit is contained in:
withchao
2023-07-06 11:23:57 +08:00
parent 28fad04d5c
commit ff22ea7108
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func run(port int) error {
if err != nil {
return err
}
if client.CreateRpcRootNodes(config.GetServiceNames()); err != nil {
if err := client.CreateRpcRootNodes(config.GetServiceNames()); err != nil {
return err
}
fmt.Println("api init discov client success")