Bläddra i källkod

:art: Improve logging

Daniel 1 år sedan
förälder
incheckning
9dc68a28e4
1 ändrade filer med 1 tillägg och 1 borttagningar
  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) {
-		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))
 	}
 }