anchor.diff:        Other
     end.
   
  +
  +%%%===================================================================
  +%%% Internal functions
  +%%%===================================================================
  +
   handle_response(State, {ok, {{_HttpVersion, 200, _ReasonPhrase}, _Headers, Body}}) ->
     Now = erlang:monotonic_time(seconds),
     NewState = parse_json_to_vips(State, Body, Now),
  
positive.code:     end
    end.
  
  -spec task_fold(AgentIPs :: orddict:orddict(), [task()], orddict:orddict()) -> orddict:orddict().
  task_fold(_AgentIPs, _Task = #{statuses := []}, AccIn) ->
    AccIn;
  
negative.code:   Frameworks = maps:get(frameworks, Parsed),
    {ElectedTime, Agents, Frameworks}.
  
  %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% Conditionally prune the agent cache and merge it with the previous
  %% results from the mesos master to retrieve the current set of VIPs.
  %% @end
  %%--------------------------------------------------------------------
  -spec(parse_json_to_vips(State :: #state{}, Data :: binary(), Now :: integer()) -> #state{}).
  parse_json_to_vips(State, Data, Now) ->
    {ElectedTime, Agents, Frameworks} = parse_json(Data),
  