diff --git a/apps/hg_progressor/src/hg_progressor.erl b/apps/hg_progressor/src/hg_progressor.erl index deb1c4eb..874af63f 100644 --- a/apps/hg_progressor/src/hg_progressor.erl +++ b/apps/hg_progressor/src/hg_progressor.erl @@ -52,6 +52,8 @@ call_automaton('Call', {MachineDesc, Args}) -> Ok; {error, <<"process not found">>} -> {error, notfound}; + {error, <<"process is init">>} -> + {error, notfound}; {error, <<"process is error">>} -> {error, failed}; {error, {exception, _, _} = Exception} -> @@ -93,6 +95,8 @@ call_automaton('Repair', {MachineDesc, Args}) -> Ok; {error, <<"process not found">>} -> {error, notfound}; + {error, <<"process is init">>} -> + {error, notfound}; {error, <<"process is running">>} -> {error, working}; {error, <<"process is error">>} -> diff --git a/rebar.config b/rebar.config index 16e0aa38..e54b9e06 100644 --- a/rebar.config +++ b/rebar.config @@ -42,7 +42,7 @@ {fault_detector_proto, {git, "https://github.com/valitydev/fault-detector-proto.git", {branch, "master"}}}, {limiter_proto, {git, "https://github.com/valitydev/limiter-proto.git", {tag, "v2.1.0"}}}, {herd, {git, "https://github.com/wgnet/herd.git", {tag, "1.3.4"}}}, - {progressor, {git, "https://github.com/valitydev/progressor.git", {tag, "v1.0.19"}}}, + {progressor, {git, "https://github.com/valitydev/progressor.git", {tag, "v1.0.20"}}}, {prometheus, "4.11.0"}, {prometheus_cowboy, "0.1.9"}, diff --git a/rebar.lock b/rebar.lock index f43a6ed0..11e04791 100644 --- a/rebar.lock +++ b/rebar.lock @@ -100,7 +100,7 @@ 0}, {<<"progressor">>, {git,"https://github.com/valitydev/progressor.git", - {ref,"27e9fc7a4c37ca903883676aa1409034c7b3ea9e"}}, + {ref,"6033631d3e1eb9593acf7841d8a635146ff482e8"}}, 0}, {<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.11.0">>},0}, {<<"prometheus_cowboy">>,{pkg,<<"prometheus_cowboy">>,<<"0.1.9">>},0},