From 25a0318d271c8de04b698e5eb8a65595cad7d0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Wed, 20 May 2026 13:40:37 +0000 Subject: [PATCH] publish: remove useless resource lock resource locks need to be before the background task. creating same publish endpoint at the same time is unlikely... --- api/publish.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/publish.go b/api/publish.go index 67b260d4..dd4afffa 100644 --- a/api/publish.go +++ b/api/publish.go @@ -332,8 +332,6 @@ func apiPublishRepoOrSnapshot(c *gin.Context) { return &task.ProcessReturnValue{Code: http.StatusInternalServerError, Value: nil}, fmt.Errorf("unable to publish: %s", err) } - resources = append(resources, string(published.Key())) - if b.Origin != "" { published.Origin = b.Origin }