Removed obsolete RWMutexes

This commit is contained in:
Oliver Sauder
2016-11-18 16:10:34 +01:00
committed by Lorenzo Bolla
parent 208a2151c1
commit 1e7731c317
5 changed files with 0 additions and 14 deletions
-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 {