Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #154 from nats-io/0013
Browse files Browse the repository at this point in the history
prepare for 0.0.13
  • Loading branch information
ripienaar authored Apr 15, 2020
2 parents b2bc7e6 + e3c5ad2 commit 7ee2112
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ require (
github.com/gosuri/uilive v0.0.4 // indirect
github.com/gosuri/uiprogress v0.0.1
github.com/guptarohit/asciigraph v0.4.1
github.com/nats-io/jsm.go v0.0.0-20200415120804-bfab47d0222f
github.com/nats-io/jsm.go v0.0.0-20200415141530-6ceeaf780275
github.com/nats-io/nats-server/v2 v2.1.7-0.20200414222406-464baa18cbe6
github.com/nats-io/nats.go v1.9.2
github.com/xeipuuv/gojsonschema v1.2.0
github.com/xlab/tablewriter v0.0.0-20160610135559-80b567a11ad5
golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59
gopkg.in/alecthomas/kingpin.v2 v2.2.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1f
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/minio/highwayhash v1.0.0 h1:iMSDhgUILCr0TNm8LWlSjF8N0ZIj2qbO8WHp6Q/J2BA=
github.com/minio/highwayhash v1.0.0/go.mod h1:xQboMTeM9nY9v/LlAOxFctujiv5+Aq2hR5dxBpaMbdc=
github.com/nats-io/jsm.go v0.0.0-20200415120804-bfab47d0222f h1:uRQqJ30Le2zp9ZOswD0A1K1qkbu3Lhki5FtueaB6PCk=
github.com/nats-io/jsm.go v0.0.0-20200415120804-bfab47d0222f/go.mod h1:Dj9QcDnhWhLaiHwmC5hlTJR2SAxo5VevcQGmVatAMzg=
github.com/nats-io/jsm.go v0.0.0-20200415141530-6ceeaf780275 h1:t3AgDDQFL91N2mHQdhJq5+lxROirpkH2bbGCT57W+e4=
github.com/nats-io/jsm.go v0.0.0-20200415141530-6ceeaf780275/go.mod h1:hpGKjQvOJ/OpQtorJwhnkCMdxw5MMeyq0a+bNt/YNtQ=
github.com/nats-io/jwt v0.3.2 h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI=
github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU=
github.com/nats-io/nats-server/v2 v2.1.7-0.20200414222406-464baa18cbe6 h1:Fx9W+PqBXwjNkLHaJimCti7jNMlPZTMVYenBCuo6j6s=
Expand Down
1 change: 1 addition & 0 deletions nats/nats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func mem1Stream() api.StreamConfig {
Subjects: []string{"js.mem.>"},
Storage: api.MemoryStorage,
Retention: api.LimitsPolicy,
Replicas: 1,
}
}

Expand Down
2 changes: 1 addition & 1 deletion nats/stream_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ func (c *streamCmd) prepareConfig() (cfg api.StreamConfig) {
NoAck: !c.ack,
Retention: c.rPolicy,
MaxConsumers: -1,
Replicas: 0,
Replicas: 1,
}

return cfg
Expand Down

0 comments on commit 7ee2112

Please sign in to comment.