anchor.diff:  %% @end
   %%
   ensure_registered(consul) ->
  +  autocluster_log:debug("Using consul backend"),
     ensure_registered(consul, autocluster_consul);
   ensure_registered(dns) ->
  +  autocluster_log:debug("Using DNS backend"),
     ensure_registered(dns, autocluster_dns);
   ensure_registered(etcd) ->
  +  autocluster_log:debug("Using etcd backend"),
     ensure_registered(etcd, autocluster_etcd);
   ensure_registered(Backend) ->
     autocluster_log:error("Unsupported backend: ~s.", [Backend]),
  
positive.code: %%
  init() ->
    autocluster_log:maybe_set_default_log_level(),
    application:ensure_started(inets),
    maybe_delay_startup(),
    Registered = node_is_registered(),
    maybe_cluster_node(Registered).
  
  
  %% Clustering Logic
  
negative.code: %%
  startup_delay(0) -> ok;
  startup_delay(Max) ->
    Seed = random:seed(),
    {Duration, _} = random:uniform_s(Max, Seed),
    autocluster_log:info("Delaying startup for ~pms.~n", [Duration]),
    timer:sleep(Duration).
  