Skip to content

Commit

Permalink
fixed error text on publisher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Miron committed Nov 15, 2016
1 parent ba79873 commit 3d0ab0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stan-bench.go
Expand Up @@ -106,7 +106,7 @@ func main() {
func runPublisher(startwg, donewg *sync.WaitGroup, opts nats.Options, numMsgs int, msgSize int, async bool, pubID string, maxPubAcksInflight int) {
nc, err := opts.Connect()
if err != nil {
log.Fatalf("Subscriber %s can't connect: %v\n", pubID, err)
log.Fatalf("Publisher %s can't connect: %v\n", pubID, err)
}
snc, err := stan.Connect("test-cluster", pubID, stan.MaxPubAcksInflight(maxPubAcksInflight), stan.NatsConn(nc))
if err != nil {
Expand Down

0 comments on commit 3d0ab0b

Please sign in to comment.