Skip to content

Commit b4e274c

Browse files
Merge pull request #50 from ArthurClemens/patch-1
Use Bolt.Sips approach to read app config
2 parents 1fe9374 + 5239c21 commit b4e274c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ $ MIX_ENV=test iex -S mix
139139
Erlang/OTP 20 [erts-9.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
140140

141141
Interactive Elixir (1.5.2) - press Ctrl+C to exit (type h() ENTER for help)
142-
iex> {:ok, pid} = Bolt.Sips.start_link(url: "localhost")
142+
iex> opts = Application.get_env(:bolt_sips, Bolt)
143+
iex> {:ok, _pid} = Bolt.Sips.start_link(opts)
143144
{:ok, #PID<0.185.0>}
144145

145146
iex> conn = Bolt.Sips.conn

0 commit comments

Comments
 (0)