Skip to content

Commit

Permalink
client: set WithURI on core client
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Apr 22, 2018
1 parent 5154296 commit 9874c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func WithLogHandler(h log15.Handler) OptionFunc {
// The NATS URI may also be configured by the environment variable `NATS_URI`.
func WithURI(uri string) OptionFunc {
return func(c *Client) {
c.uri = uri
c.core.uri = uri
}
}

Expand Down

0 comments on commit 9874c3b

Please sign in to comment.