@@ -149,7 +149,7 @@ warn_bucket_mr_correctness(_) ->
149149% % Write information about the team.
150150run ({team , write }, KeyGen , _ValueGen , State ) ->
151151 Key = integer_to_list (KeyGen ()),
152- Result = riakc_pb_socket :modify_type (State # state .pid ,
152+ Result = riakc_pb_socket :update_type (State # state .pid ,
153153 fun (M ) ->
154154 riakc_map :update (
155155 {<<" name" >>, register },
@@ -207,7 +207,7 @@ run({team, player, removal}, KeyGen, ValueGen, State) ->
207207 true ->
208208 Value = hd (Members ),
209209 lager :info (" Team read succeeded" ),
210- Result2 = riakc_pb_socket :modify_type (State # state .pid ,
210+ Result2 = riakc_pb_socket :update_type (State # state .pid ,
211211 fun (M2 ) ->
212212 riakc_map :update (
213213 {<<" members" >>, set },
@@ -244,7 +244,7 @@ run({team, player, removal}, KeyGen, ValueGen, State) ->
244244run ({team , player , addition }, KeyGen , ValueGen , State ) ->
245245 Key = integer_to_list (KeyGen ()),
246246 Value = " Team member " ++ integer_to_list (ValueGen ()),
247- Result = riakc_pb_socket :modify_type (State # state .pid ,
247+ Result = riakc_pb_socket :update_type (State # state .pid ,
248248 fun (M ) ->
249249 riakc_map :update (
250250 {<<" members" >>, set },
@@ -269,7 +269,7 @@ run({team, player, addition}, KeyGen, ValueGen, State) ->
269269run ({game , completed }, KeyGen , ValueGen , State ) ->
270270 Key = integer_to_list (KeyGen ()),
271271 Value = ValueGen (),
272- Result = riakc_pb_socket :modify_type (State # state .pid ,
272+ Result = riakc_pb_socket :update_type (State # state .pid ,
273273 fun (M ) ->
274274 riakc_map :update (
275275 {<<" score" >>, counter },
0 commit comments