mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-11 15:33:31 -07:00
(minor) fix log call in memory.Validate
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user