From 347c5c44c8dcca24a50e0509c0df5401f863e790 Mon Sep 17 00:00:00 2001 From: Alexey S Date: Thu, 16 Jun 2022 19:06:20 +0300 Subject: [PATCH] OPS-108: Fix a typo (#28) --- .github/workflows/erlang-pr.yml | 2 ++ proto/lifecycle_sink.thrift | 2 +- rebar.config | 7 +------ 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/erlang-pr.yml b/.github/workflows/erlang-pr.yml index f4ac7e0..38a3288 100644 --- a/.github/workflows/erlang-pr.yml +++ b/.github/workflows/erlang-pr.yml @@ -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 diff --git a/proto/lifecycle_sink.thrift b/proto/lifecycle_sink.thrift index 6c5d745..2316595 100644 --- a/proto/lifecycle_sink.thrift +++ b/proto/lifecycle_sink.thrift @@ -38,7 +38,7 @@ union LifecycleEventData { union MachineLifecycleEvent { 1: MachineLifecycleCreatedEvent created 2: MachineLifecycleStatusChangedEvent status_changed - 3: MachineLifecycleCreatedEvent removed + 3: MachineLifecycleRemovedEvent removed } struct MachineLifecycleCreatedEvent {} diff --git a/rebar.config b/rebar.config index a46204c..a827ba8 100644 --- a/rebar.config +++ b/rebar.config @@ -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"} ]}.