Skip to content

Commit

Permalink
Updated to match PR change in server
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison authored and kozlovic committed Oct 6, 2021
1 parent eeea9a7 commit 253e11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jsm.go
Expand Up @@ -96,7 +96,7 @@ type StreamConfig struct {
Sealed bool `json:"sealed,omitempty"`
DenyDelete bool `json:"deny_delete,omitempty"`
DenyPurge bool `json:"deny_purge,omitempty"`
RollupAllowed bool `json:"rollup_hdrs,omitempty"`
AllowRollup bool `json:"rollup_hdrs,omitempty"`
}

// Placement is used to guide placement of streams in clustered JetStream.
Expand Down
2 changes: 1 addition & 1 deletion kv.go
Expand Up @@ -200,7 +200,7 @@ func (js *js) CreateKeyValue(cfg *KeyValueConfig) (KeyValue, error) {
MaxMsgSize: cfg.MaxValueSize,
Storage: cfg.Storage,
Replicas: replicas,
RollupAllowed: true,
AllowRollup: true,
DenyDelete: true,
}

Expand Down

0 comments on commit 253e11b

Please sign in to comment.