anchor.diff:      end
     end.
   
  +%%--------------------------------------------------------------------
  +%% @private
  +%% @doc
  +%% Get the set of VIP mappings corresponding to a task.
  +%% @end
  +%%--------------------------------------------------------------------
   -spec task_fold(AgentIPs :: orddict:orddict(), [task()], orddict:orddict()) -> orddict:orddict().
   task_fold(_AgentIPs, _Task = #{statuses := []}, AccIn) ->
     AccIn;
  
positive.code: code_change(_OldVsn, State, _Extra) ->
    {ok, State}.
  
  %%%===================================================================
  %%% Internal functions
  %%%===================================================================
  
  -spec(poll(State :: #state{}) -> {ok, #state{}} | {error, term()}).
  poll(State) ->
    lager:debug("Starting poll cycle"),
    {ok, _} = timer:send_after(minuteman_config:poll_interval(), poll),
  
negative.code:   maps:fold(FoldFun, orddict:new(), AgentCache).
  
  
  %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% Wrapper fun to make task_fold into a higher order function
  %% It's a separate function to avoid capturing excessive
  %% local variables
  %% @end
  %%--------------------------------------------------------------------
  task_fold_fun(AgentIPs) ->
    fun (Task, Acc) ->
      try task_fold(AgentIPs, Task, Acc) of
  