Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Aug 20, 2024
1 parent 05112f0 commit fed27a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/rpc/rpcutil/proxy_entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ func (p EntityProxied) OneWayCliRPCToEntity(entityId uid.Id, method string, args
return rpc.Using(p.servCtx).OneWayRPC(dst, callChain, cp.String(), args...)
}

// GroupOneWayCliRPC 向包含实体的分组发送单向RPC
func (p EntityProxied) GroupOneWayCliRPC(method string, args ...any) error {
// OneWayCliRPCToGroups 向包含实体的所有分组发送单向RPC
func (p EntityProxied) OneWayCliRPCToGroups(method string, args ...any) error {
if p.servCtx == nil {
panic(errors.New("rpc: setting servCtx is nil"))
}
Expand Down

0 comments on commit fed27a2

Please sign in to comment.