Skip to content

Commit 23dc87e

Browse files
ttt161ttt161
andauthored
bump progressor-1.0.20 (#193)
* bump progressor-1.0.20 * fix for init status --------- Co-authored-by: ttt161 <losto@nix>
1 parent 8940d6a commit 23dc87e

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

apps/hg_progressor/src/hg_progressor.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ call_automaton('Call', {MachineDesc, Args}) ->
5252
Ok;
5353
{error, <<"process not found">>} ->
5454
{error, notfound};
55+
{error, <<"process is init">>} ->
56+
{error, notfound};
5557
{error, <<"process is error">>} ->
5658
{error, failed};
5759
{error, {exception, _, _} = Exception} ->
@@ -93,6 +95,8 @@ call_automaton('Repair', {MachineDesc, Args}) ->
9395
Ok;
9496
{error, <<"process not found">>} ->
9597
{error, notfound};
98+
{error, <<"process is init">>} ->
99+
{error, notfound};
96100
{error, <<"process is running">>} ->
97101
{error, working};
98102
{error, <<"process is error">>} ->

rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{fault_detector_proto, {git, "https://github.com/valitydev/fault-detector-proto.git", {branch, "master"}}},
4343
{limiter_proto, {git, "https://github.com/valitydev/limiter-proto.git", {tag, "v2.1.0"}}},
4444
{herd, {git, "https://github.com/wgnet/herd.git", {tag, "1.3.4"}}},
45-
{progressor, {git, "https://github.com/valitydev/progressor.git", {tag, "v1.0.19"}}},
45+
{progressor, {git, "https://github.com/valitydev/progressor.git", {tag, "v1.0.20"}}},
4646
{prometheus, "4.11.0"},
4747
{prometheus_cowboy, "0.1.9"},
4848

rebar.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
0},
101101
{<<"progressor">>,
102102
{git,"https://github.com/valitydev/progressor.git",
103-
{ref,"27e9fc7a4c37ca903883676aa1409034c7b3ea9e"}},
103+
{ref,"6033631d3e1eb9593acf7841d8a635146ff482e8"}},
104104
0},
105105
{<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.11.0">>},0},
106106
{<<"prometheus_cowboy">>,{pkg,<<"prometheus_cowboy">>,<<"0.1.9">>},0},

0 commit comments

Comments
 (0)