]> source.dussan.org Git - gitea.git/commit
Prevent migration 156 failure if tag commit missing (#15519) (#15527)
authorzeripath <art27@cantab.net>
Sat, 17 Apr 2021 10:13:15 +0000 (11:13 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 10:13:15 +0000 (12:13 +0200)
commit2b1989e59f2d93f3a5c8123bfe072d88ccc1952d
treefdeae5209b03e1a2358bc7954b93a17d0ea84da7
parent340c4fc7c7b539ae64de9c67293b74753c1155bc
Prevent migration 156 failure if tag commit missing (#15519) (#15527)

Backport #15519

It is possible that tag commits could be deleted or missing from repos. This causes
migration 156 to fail and breaks upgrade.

This PR simply logs the failure.

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/migrations/v156.go