Skip to content

Commit

Permalink
Fix restore without topic failure (#18387) (#18400)
Browse files Browse the repository at this point in the history
Co-authored-by: zeripath <art27@cantab.net>
  • Loading branch information
lunny and zeripath committed Jan 25, 2022
1 parent 0b83cc2 commit 0734ca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/migrations/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ func (r *RepositoryRestorer) GetTopics() ([]string, error) {

bs, err := os.ReadFile(p)
if err != nil {
if os.IsNotExist(err) {
return nil, nil
}
return nil, err
}

Expand Down

0 comments on commit 0734ca0

Please sign in to comment.