diff --git a/pkg/index/index.go b/pkg/index/index.go index 97ea87b41..64835bf4e 100644 --- a/pkg/index/index.go +++ b/pkg/index/index.go @@ -469,7 +469,6 @@ func (x *Index) Reindex() error { return fmt.Errorf("%d blobs are still needed as dependencies", needed) } - log.Printf("Index rebuild complete.") nerrmu.Lock() // no need to unlock if nerr != 0 { return fmt.Errorf("%d blobs failed to re-index", nerr) @@ -477,6 +476,7 @@ func (x *Index) Reindex() error { if err := x.initDeletesCache(); err != nil { return err } + log.Printf("Index rebuild complete.") return nil }