Skip to content

Commit

Permalink
chore(kv): skip type key
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Dec 23, 2023
1 parent 6843418 commit 21803a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func NewWithMap(o map[string]string) (Storage, error) {

opts := make(map[string]any)
for k, v := range o {
if k == DriverTypeKey {
continue
}

opts[k] = v
}

Expand Down

0 comments on commit 21803a9

Please sign in to comment.