mirror of
https://github.com/valitydev/machinegun-proto.git
synced 2024-11-06 01:15:18 +00:00
OPS-108: Fix a typo (#28)
This commit is contained in:
parent
178d242169
commit
347c5c44c8
2
.github/workflows/erlang-pr.yml
vendored
2
.github/workflows/erlang-pr.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: valitydev/action-setup-thrift@v1
|
||||
with:
|
||||
thrift-version: "0.14.2.3"
|
||||
|
||||
- uses: erlef/setup-beam@v1
|
||||
id: beam
|
||||
|
@ -38,7 +38,7 @@ union LifecycleEventData {
|
||||
union MachineLifecycleEvent {
|
||||
1: MachineLifecycleCreatedEvent created
|
||||
2: MachineLifecycleStatusChangedEvent status_changed
|
||||
3: MachineLifecycleCreatedEvent removed
|
||||
3: MachineLifecycleRemovedEvent removed
|
||||
}
|
||||
|
||||
struct MachineLifecycleCreatedEvent {}
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
{plugins, [
|
||||
{rebar3_thrift_compiler,
|
||||
{git, "https://github.com/valitydev/rebar3_thrift_compiler.git", {tag, "0.3.1"}}}
|
||||
{git, "https://github.com/valitydev/rebar3-thrift-compiler.git", {tag, "0.4"}}}
|
||||
]}.
|
||||
|
||||
{provider_hooks, [
|
||||
@ -62,10 +62,5 @@
|
||||
|
||||
{thrift_compiler_opts, [
|
||||
{in_dir, "proto"},
|
||||
{in_files, [
|
||||
"event_sink.thrift",
|
||||
"lifecycle_sink.thrift",
|
||||
"state_processing.thrift"
|
||||
]},
|
||||
{gen, "erlang:app_prefix=mg_proto,scoped_typenames"}
|
||||
]}.
|
||||
|
Loading…
Reference in New Issue
Block a user