Skip to content

Commit

Permalink
[4.3] Fix number of tuple elements to acdc_queue_manager's agent_unav…
Browse files Browse the repository at this point in the history
…ailable (2600hz#6589)
  • Loading branch information
danielfinke authored and jamesaimonetti committed Jun 18, 2020
1 parent 08115c9 commit dcfed9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/acdc/src/acdc_queue_manager.erl
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ handle_cast({'sync_with_agent', A}, #state{account_id=AccountId}=State) ->
{'ok', Status} = acdc_agent_util:most_recent_status(AccountId, A),
case acdc_agent_util:status_should_auto_start(Status) of
'true' -> 'ok';
'false' -> gen_listener:cast(self(), {'agent_unavailable', A, 0})
'false' -> gen_listener:cast(self(), {'agent_unavailable', A})
end,
{'noreply', State};

Expand Down

0 comments on commit dcfed9f

Please sign in to comment.