Skip to content

Commit 862aa4b

Browse files
committed
fix(config): fix parsing JSON/YAML when data is not a pointer
1 parent 77e9e02 commit 862aa4b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/dynamic/common.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ func Register(header string, checkVersion func(v version.Version) bool, c interf
3333
checkVersion: checkVersion,
3434
configType: val.Type()})
3535
}
36+
37+
func Reset() {
38+
configTypes = nil
39+
}

0 commit comments

Comments
 (0)