Skip to content

Commit d51e841

Browse files
committed
fix build on 1.8
1 parent 3353055 commit d51e841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (cfg *frozenConfig) getEncoderFromCache(cacheKey uintptr) ValEncoder {
104104
return nil
105105
}
106106

107-
var cfgCache = &sync.Map{}
107+
var cfgCache = concurrent.NewMap()
108108

109109
func getFrozenConfigFromCache(cfg Config) *frozenConfig {
110110
obj, found := cfgCache.Load(cfg)

0 commit comments

Comments
 (0)