Browse Source

Show actual number of elements restored

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 10 năm trước cách đây
mục cha
commit
141cd2a1f2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      graph/graph.go

+ 1 - 1
graph/graph.go

@@ -70,7 +70,7 @@ func (graph *Graph) restore() error {
 		}
 	}
 	graph.idIndex = truncindex.NewTruncIndex(ids)
-	logrus.Debugf("Restored %d elements", len(dir))
+	logrus.Debugf("Restored %d elements", len(ids))
 	return nil
 }