Skip to content

Commit f578895

Browse files
committed
Merge pull request #137 from ehlertjd/master
uuid module collides with actual dependency
2 parents 71347a1 + 767def2 commit f578895

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/basho_bench_keygen.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ new({truncated_pareto_int, MaxKey}, Id) ->
108108
Pareto = new({pareto_int, MaxKey}, Id),
109109
fun() -> erlang:min(MaxKey, Pareto()) end;
110110
new(uuid_v4, _Id) ->
111-
fun() -> uuid:v4() end;
111+
fun() -> basho_uuid:v4() end;
112112
new({function, Module, Function, Args}, Id)
113113
when is_atom(Module), is_atom(Function), is_list(Args) ->
114114
case code:ensure_loaded(Module) of

src/uuid.erl renamed to src/basho_uuid.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2929
% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
%
31-
-module(uuid).
31+
-module(basho_uuid).
3232
-export([v4/0, to_string/1, get_parts/1, to_binary/1]).
3333

3434
% Generates a random binary UUID.

0 commit comments

Comments
 (0)