OPS-108: Fix a typo (#28)

This commit is contained in:
Alexey S 2022-06-16 19:06:20 +03:00 committed by GitHub
parent 178d242169
commit 347c5c44c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -38,7 +38,7 @@ union LifecycleEventData {
union MachineLifecycleEvent {
1: MachineLifecycleCreatedEvent created
2: MachineLifecycleStatusChangedEvent status_changed
3: MachineLifecycleCreatedEvent removed
3: MachineLifecycleRemovedEvent removed
}
struct MachineLifecycleCreatedEvent {}

View File

@ -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"}
]}.