Skip to content

Commit

Permalink
[IMPROVED] Correct the description of CreateStream to indicate it is …
Browse files Browse the repository at this point in the history
…idempotent (#1723)

Signed-off-by: Jean-Noël Moyne <jnmoyne@gmail.com>
  • Loading branch information
jnmoyne authored Oct 3, 2024
1 parent f0c0194 commit 60754bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jetstream/jetstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ type (
// to operate on a stream.
StreamManager interface {
// CreateStream creates a new stream with given config and returns an
// interface to operate on it. If stream with given name already exists,
// interface to operate on it. If stream with given name already exists
// and its configuration differs from the provided one,
// ErrStreamNameAlreadyInUse is returned.
CreateStream(ctx context.Context, cfg StreamConfig) (Stream, error)

Expand Down

0 comments on commit 60754bd

Please sign in to comment.