Added logger util GetOrCreateMap() and started using it everywhere.
[arvados.git] / services / datamanager / summary / file.go
index 15c369900ca57a42e837b1884e34372e4fa2a732..ce7d6874122cd520d918d083c1b6deedc0a009f8 100644 (file)
@@ -101,8 +101,8 @@ func MaybeReadData(arvLogger *logger.Logger,
 
                // re-summarize data, so that we can update our summarizing
                // functions without needing to do all our network i/o
-               data.ReadCollections.Summarize()
-               keep.ComputeBlockReplicationCounts(&data.KeepServerInfo)
+               data.ReadCollections.Summarize(arvLogger)
+               data.KeepServerInfo.Summarize(arvLogger)
 
                *readCollections = data.ReadCollections
                *keepServerInfo = data.KeepServerInfo