anchor.diff:  -define(NS_LOG, "ns_log").
   
   get_current_version() ->
  -    {2,3,0}.
  +    {3,0}.
   
   % Allow all keys to be mergable.
   
  
positive.code:                                       {admin_pass, UUID}),
  
      [{set, {node, node(), memcached}, MemcachedConfig3}].
  
  search_sub_key(Config, Key, Subkey) ->
      case ns_config:search(Config, Key) of
  
negative.code:                     {log_cyclesize, 1024*1024*10},
                      {admin_pass, _}]}], UpgradedCfg).
  
  upgrade_2_3_0_to_3_0_test() ->
      Key = {node, node(), uuid},
      CfgWithoutUUID = [[{some_key, some_value}]],
      CfgWithUUID = [[{Key, <<"uuid">>},
                      {some_key, some_value}]],
      Default = [{Key, <<"default uuid">>}],
  
      ?assertEqual([],
                   do_upgrade_config_from_2_3_0_to_3_0(CfgWithUUID, Default)),
  
      ?assertEqual([{set, Key, <<"default uuid">>}],
                   do_upgrade_config_from_2_3_0_to_3_0(CfgWithoutUUID, Default)).
  
  no_upgrade_on_current_version_test() ->
      ?assertEqual([], upgrade_config([[{{node, node(), config_version}, get_current_version()}]])).
  
  