(minor) fix log call in memory.Validate

This commit is contained in:
Lawrence, Rendall
2022-11-27 17:19:55 +03:00
parent e1888a18a3
commit 765ea51796
+1 -1
View File
@@ -58,7 +58,7 @@ func (cfg Config) Validate() Config {
if cfg.ShardCount <= 0 || cfg.ShardCount > (math.MaxInt/2) {
validcfg.ShardCount = defaultShardCount
log.Warn().
logger.Warn().
Str("name", "ShardCount").
Int("provided", cfg.ShardCount).
Int("default", validcfg.ShardCount).