mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
Fix bug with components not being cleaned up after publish update. #116
This commit is contained in:
@@ -260,7 +260,7 @@ func apiPublishUpdateSwitch(c *gin.Context) {
|
||||
c.Fail(400, fmt.Errorf("snapshots shouldn't be given when updating local repo"))
|
||||
return
|
||||
}
|
||||
updatedComponents := published.Components()
|
||||
updatedComponents = published.Components()
|
||||
for _, component := range updatedComponents {
|
||||
published.UpdateLocalRepo(component)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user