Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit be2e5c5

Browse files
committed
last fixes
1 parent cefed10 commit be2e5c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

migration1/after/bug/bug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func readAll(repo repository.ClockedRepo, identityResolver identity.Resolver, re
320320

321321
if err != nil {
322322
out <- StreamedBug{Err: err}
323-
return
323+
continue
324324
}
325325

326326
out <- StreamedBug{Bug: b}

migration1/migration1.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (m *Migration1) migrate(repo afterrepo.ClockedRepo) error {
3939
if streamedBug.Err != afterbug.ErrInvalidFormatVersion {
4040
fmt.Printf("Got error when reading bug: %q\n", streamedBug.Err)
4141
} else {
42-
fmt.Printf("skipping bug, already updated")
42+
fmt.Printf("skipping bug, already updated\n")
4343
}
4444
continue
4545
}
@@ -66,7 +66,7 @@ func (m *Migration1) migrate(repo afterrepo.ClockedRepo) error {
6666
continue
6767
}
6868

69-
fmt.Printf("migrated\n")
69+
fmt.Printf("migrated to %s\n", newBug.Id().Human())
7070
continue
7171
}
7272
fmt.Printf("migration not needed\n")

0 commit comments

Comments
 (0)