]> source.dussan.org Git - gitea.git/commit
Retry rename on lock induced failures (re-fix) (#16461) (#16462)
authorzeripath <art27@cantab.net>
Fri, 16 Jul 2021 17:22:44 +0000 (18:22 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Jul 2021 17:22:44 +0000 (13:22 -0400)
commit0f11c5f592dd32db71beb5bbbf996f33a1c50f0d
tree399aa34aeae6ad94b12fea66cae52cabf649bad4
parentbae0e1d7731b46772523b1724e0a1574f78d2a39
Retry rename on lock induced failures (re-fix) (#16461) (#16462)

Backport #16461

Unfortunately #16435 asserts the wrong error and should use
os.LinkError not os.PathError.

Fix #16439

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/util/remove.go