Basis for repo re-publishing, cleaning up prefix + component published package pool. #8

This commit is contained in:
Andrey Smirnov
2014-04-22 17:07:25 +04:00
parent d69eaeff4e
commit 9445f3a0fa
3 changed files with 75 additions and 6 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ func aptlyPublishDrop(cmd *commander.Command, args []string) error {
prefix = args[1]
}
err = context.CollectionFactory().PublishedRepoCollection().Remove(context.PublishedStorage(), prefix, distribution)
err = context.CollectionFactory().PublishedRepoCollection().Remove(context.PublishedStorage(), prefix, distribution,
context.CollectionFactory(), context.Progress())
if err != nil {
return fmt.Errorf("unable to remove: %s", err)
}