|
|
|
@ -23,7 +23,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac
|
|
|
|
|
log.ZInfo(ctx, "rpc req", "req", "funcName", method, rpcString(req))
|
|
|
|
|
operationID, ok := ctx.Value(constant.OperationID).(string)
|
|
|
|
|
if !ok {
|
|
|
|
|
log.ZWarn(ctx, "ctx missing operationID", errors.New("ctx missing operationID"))
|
|
|
|
|
log.ZWarn(ctx, "ctx missing operationID", errors.New("ctx missing operationID"), "funcName", method)
|
|
|
|
|
return errs.ErrArgs.Wrap("ctx missing operationID")
|
|
|
|
|
}
|
|
|
|
|
md := metadata.Pairs(constant.OperationID, operationID)
|
|
|
|
|