Skip to content

Commit

Permalink
Correct the description of CreateStream to indicate it is idempotent
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Noël Moyne <jnmoyne@gmail.com>
  • Loading branch information
jnmoyne committed Oct 2, 2024
1 parent f0c0194 commit 8869a24
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 8869a24

Please sign in to comment.