Removed obsolete RWMutexes

This commit is contained in:
Oliver Sauder authored and Lorenzo Bolla committed 2022-01-27 09:30:14 +01:00
1 parent 208a2151c1
commit 1e7731c317
5 files changed
-14

No files matched your search

-2
View File
@@ -166,8 +166,6 @@ func apiPublishRepoOrSnapshot(c *gin.Context) {
}
collection := collectionFactory.PublishedRepoCollection()
collection.Lock()
defer collection.Unlock()
published, err := deb.NewPublishedRepo(storage, prefix, b.Distribution, b.Architectures, components, sources, collectionFactory)
if err != nil {