فهرست منبع

:art: Improve logging

Daniel 1 سال پیش
والد
کامیت
9dc68a28e4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      kernel/model/index_fix.go

+ 1 - 1
kernel/model/index_fix.go

@@ -74,7 +74,7 @@ func removeDuplicateDatabaseRefs() {
 	}
 	}
 
 
 	if 0 < len(duplicatedRootIDs) {
 	if 0 < len(duplicatedRootIDs) {
-		logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", duplicatedRootIDs)
+		logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", len(duplicatedRootIDs))
 	}
 	}
 }
 }