mirror of
https://github.com/valitydev/machinegun-woody-api.git
synced 2024-11-06 00:45:22 +00:00
TD-878: Adds potential BC for woody context from req ctx (#15)
* TD-878: Adds potential BC for woody context from req ctx * Disables codecov upload
This commit is contained in:
parent
42263f7d80
commit
4b869de340
1
.github/workflows/erlang-checks.yml
vendored
1
.github/workflows/erlang-checks.yml
vendored
@ -37,3 +37,4 @@ jobs:
|
||||
use-thrift: true
|
||||
thrift-version: ${{ needs.setup.outputs.thrift-version }}
|
||||
run-ct-with-compose: true
|
||||
upload-coverage: false
|
||||
|
@ -108,7 +108,9 @@ opaque_to_woody_context([1, RPCID]) ->
|
||||
rpc_id => opaque_to_woody_rpc_id(RPCID),
|
||||
%% FIXME
|
||||
deadline => undefined
|
||||
}.
|
||||
};
|
||||
opaque_to_woody_context(_Other) ->
|
||||
woody_context:new().
|
||||
|
||||
-spec woody_context_to_opaque(woody_context:ctx()) -> mg_core_storage:opaque().
|
||||
woody_context_to_opaque(#{rpc_id := RPCID, meta := ContextMeta}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user