Skip to content

Commit

Permalink
fixing nodename
Browse files Browse the repository at this point in the history
  • Loading branch information
drewkerrigan committed Jun 2, 2016
1 parent 78bd90e commit 097246b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rms_scheduler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,8 @@ handle_call_exec_error(message, [_,
<<"finish">>], closed=Reason) ->
%% The node we're attempting to finish is no longer running
%% Instead of trying to force a destroy, simulate a TASK_FINISHED update since the executor didn't respond.
TaskId = ExecutorId,
NodeName = ExecutorId,
NodeState = 'TASK_FINISHED',
{ok, NodeName} = node_name_from_task_id(TaskId),
case rms_node_manager:get_node_cluster_key(NodeName) of
{error, Reason1} ->
lager:warning("Error while attempting to process finish exec error update: ~p.", [Reason1]);
Expand Down

0 comments on commit 097246b

Please sign in to comment.