Skip to content

Commit

Permalink
Fix some comments (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
subtle-byte authored Nov 11, 2022
1 parent 4d7d951 commit d80925c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jserrors.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var (

// Client errors

// ErrConsumerNotFound is an error returned when consumer with given name does not exist.
// ErrConsumerNameAlreadyInUse is an error returned when consumer with given name already exists.
ErrConsumerNameAlreadyInUse JetStreamError = &jsError{message: "consumer name already in use"}

// ErrConsumerNotActive is an error returned when consumer is not active.
Expand Down
2 changes: 1 addition & 1 deletion jsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ type JetStreamManager interface {
// AccountInfo retrieves info about the JetStream usage from an account.
AccountInfo(opts ...JSOpt) (*AccountInfo, error)

// StreamNameBySubjec rteturns a stream matching given subject.
// StreamNameBySubject returns a stream matching given subject.
StreamNameBySubject(string, ...JSOpt) (string, error)
}

Expand Down

0 comments on commit d80925c

Please sign in to comment.