mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
Fix null pointer when dropping a multi dist published repo.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
This commit is contained in:
@@ -1660,6 +1660,11 @@ func (collection *PublishedRepoCollection) Remove(publishedStorageProvider aptly
|
||||
return err
|
||||
}
|
||||
|
||||
err = collection.LoadComplete(repo, collectionFactory)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
removePrefix := true
|
||||
removePoolComponents := repo.Components()
|
||||
cleanComponents := []string{}
|
||||
|
||||
Reference in New Issue
Block a user