fix(DynamoDB connector): fix error in status check when no workers
This commit is contained in:
parent
91514f3ace
commit
c90f4f5794
|
@ -193,7 +193,7 @@ on_get_status(_InstanceId, #{pool_name := Pool} = State) ->
|
|||
case Health of
|
||||
{error, timeout} ->
|
||||
{?status_connecting, State, <<"timeout_while_checking_connection">>};
|
||||
{ok, [_ | _] = Results} ->
|
||||
{ok, Results} ->
|
||||
status_result(Results, State)
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue