Skip to content

Commit

Permalink
Update js.go
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
jlvallelonga authored Mar 9, 2023
1 parent 7c72997 commit aaa352c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js.go
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ func Description(description string) SubOpt {
}

// Durable defines the consumer name for JetStream durable subscribers.
// This function will return ErrInvalidConsumerName in the name contains
// This function will return ErrInvalidConsumerName if the name contains
// any dot ".".
func Durable(consumer string) SubOpt {
return subOptFn(func(opts *subOpts) error {
Expand Down

0 comments on commit aaa352c

Please sign in to comment.