Commits

Anonymous committed d5d0210

fix failing tests where value is updated but not metadata

  • Participants
  • Parent commits 8d96d21

Comments (0)

Files changed (1)

File src/riak_object.erl

                  MDs = [C#r_content.metadata || C <- Object#r_object.contents],
                  case Object#r_object.updatevalue of
                      undefined -> MDs;
-                     _ -> hd(MDs)
+                     _ -> [hd(MDs)]
                  end;
              error ->
 		 [dict:erase(clean,Object#r_object.updatemetadata) || _X <- VL]