Skip to content

Commit 8766504

Browse files
committed
fix(registry/kvstore): actualy use its kvstore subconfig
Signed-off-by: René Jochum <jochumdev@gmail.com>
1 parent a8386f9 commit 8766504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/kvstore/kvstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func Provide(
268268
kvstoreDatas := map[string]any{}
269269

270270
tmp, err := config.WalkMap([]string{registry.DefaultConfigSection}, datas)
271-
if err != nil {
271+
if err == nil {
272272
kvstoreDatas = tmp
273273
}
274274

0 commit comments

Comments
 (0)