Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix init in Tyrant adapter

  • Loading branch information...
commit 379b316c2d7aef6dc30612c8fe423bb5a5338c72 1 parent 7785715
Evan Miller authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/db_adapters/boss_db_adapter_tyrant.erl
View
4 src/db_adapters/boss_db_adapter_tyrant.erl
@@ -14,8 +14,8 @@ stop() ->
init(Options) ->
Host = proplists:get_value(db_host, Options, "localhost"),
Port = proplists:get_value(db_port, Options, 1978),
- Options = [{hostname, Host}, {port, Port}],
- principe:connect(Options).
+ PrincipeOptions = [{hostname, Host}, {port, Port}],
+ principe:connect(PrincipeOptions).
terminate(Conn) ->
gen_tcp:close(Conn).
Please sign in to comment.
Something went wrong with that request. Please try again.