Browse Source

Fix restore without topic failure (#18387) (#18401)

Co-authored-by: zeripath <art27@cantab.net>
tags/v1.15.11
Lunny Xiao 3 years ago committed by GitHub
parent
commit
df57524c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      modules/migrations/restore.go

3
modules/migrations/restore.go

@ -98,6 +98,9 @@ func (r *RepositoryRestorer) GetTopics() ([]string, error) {
bs, err := ioutil.ReadFile(p) bs, err := ioutil.ReadFile(p)
if err != nil { if err != nil {
if os.IsNotExist(err) {
return nil, nil
}
return nil, err return nil, err
} }

Loading…
Cancel
Save