Skip to content

Commit 21c64b4

Browse files
author
Yuta Namiki
committed
Fix Log Message
stateImplName is a map and should be printed by %v. Before: stateImplConfigs=map[numBuckets:%!s(int=1000003) maxGroupingAtEachLevel:%!s(int=5) bucketCacheSize:%!s(int=100)] After: stateImplConfigs=map[numBuckets:1000003 maxGroupingAtEachLevel:5 bucketCacheSize:100] Change-Id: Ie9b2df5af0e160308d759a7884f0118595dd8702 Signed-off-by: Yuta Namiki <[email protected]>
1 parent 0addcfb commit 21c64b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/ledger/statemgmt/state/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func loadConfig() {
3838
stateImplName = stateImplType(viper.GetString("ledger.state.dataStructure.name"))
3939
stateImplConfigs = viper.GetStringMap("ledger.state.dataStructure.configs")
4040
deltaHistorySize = viper.GetInt("ledger.state.deltaHistorySize")
41-
logger.Infof("Configurations loaded. stateImplName=[%s], stateImplConfigs=%s, deltaHistorySize=[%d]",
41+
logger.Infof("Configurations loaded. stateImplName=[%s], stateImplConfigs=%v, deltaHistorySize=[%d]",
4242
stateImplName, stateImplConfigs, deltaHistorySize)
4343

4444
if len(stateImplName) == 0 {

0 commit comments

Comments
 (0)