mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
Merge pull request #1400 from cfiehe/fix/null_pointer_when_dropping_published_repo
Fix: Null pointer when dropping a multi-dist published repo
This commit is contained in:
@@ -1660,6 +1660,11 @@ func (collection *PublishedRepoCollection) Remove(publishedStorageProvider aptly
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = collection.LoadComplete(repo, collectionFactory)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
removePrefix := true
|
removePrefix := true
|
||||||
removePoolComponents := repo.Components()
|
removePoolComponents := repo.Components()
|
||||||
cleanComponents := []string{}
|
cleanComponents := []string{}
|
||||||
|
|||||||
Reference in New Issue
Block a user