summaryrefslogtreecommitdiffstats
path: root/services/migrations/restore.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/migrations/restore.go')
-rw-r--r--services/migrations/restore.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/migrations/restore.go b/services/migrations/restore.go
index 4499f78701..c927de0b2b 100644
--- a/services/migrations/restore.go
+++ b/services/migrations/restore.go
@@ -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
}