fix(DynamoDB connector): fix error in status check when no workers

This commit is contained in:
Kjell Winblad 2024-03-12 17:22:22 +01:00
parent 91514f3ace
commit c90f4f5794
1 changed files with 1 additions and 1 deletions

View File

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