Skip to content

Commit

Permalink
lib: rename "Tunnel" with "Agent" in some user-facing info messages
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed May 31, 2016
1 parent d112e88 commit ed84fc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ Now when you start `lein repl` from command-line you should see something like t
Results: Stored in vars *1, *2, *3, an exception in *e

user=>
Dirac Agent v0.2.0
Dirac Agent v0.5.0
Connected to nREPL server at nrepl://localhost:8230.
Tunnel is accepting connections at ws://localhost:8231.
Agent is accepting connections at ws://localhost:8231.

The last line should remind you that Dirac **Agent** started successfully and is listening for browser connections on port 8231.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/dirac/lib/nrepl_tunnel.clj
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
nrepl-client (get-nrepl-client tunnel)
client-info (nrepl-client/get-client-info nrepl-client)]
(str client-info "\n"
"Tunnel is accepting connections at " tunnel-url ".")))
"Agent is accepting connections at " tunnel-url ".")))

; -- sessions ---------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion test/backend/src/dirac/agent_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
:nrepl-tunnel {:host tunnel-host
:port tunnel-port}}))]
(is (.contains agent-output (str "Connected to nREPL server at " server-url)))
(is (.contains agent-output (str "Tunnel is accepting connections at " tunner-url)))
(is (.contains agent-output (str "Agent is accepting connections at " tunner-url)))
(log/info "dirac agent started on" tunnel-port)
(let [tunnel (tunnel-client/create! tunner-url)]
(expect-event! tunnel :open)
Expand Down

0 comments on commit ed84fc6

Please sign in to comment.