Skip to content

Commit

Permalink
Revert "fix(store): encode nats-js-kv keys"
Browse files Browse the repository at this point in the history
This reverts commit df0ba6d.

reva 2.19 does not encode the keys in the store
  • Loading branch information
butonic committed Sep 23, 2024
1 parent 1de9e2b commit 9c13e84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions changelog/unreleased/fix-nats-encoding.md

This file was deleted.

1 change: 0 additions & 1 deletion pkg/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func Create(opts ...microstore.Option) microstore.Store {
return natsjskv.NewStore(
append(opts,
natsjskv.NatsOptions(natsOptions), // always pass in properly initialized default nats options
natsjskv.EncodeKeys(),
natsjskv.DefaultTTL(ttl))...,
)
case TypeMemory, "mem", "": // allow existing short form and use as default
Expand Down

0 comments on commit 9c13e84

Please sign in to comment.