Refactor ppa parsing: take pointer to config.

This commit is contained in:
Andrey Smirnov
2014-04-06 19:12:07 +04:00
parent efcce4ef3c
commit 3db7125932
3 changed files with 9 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ func aptlyMirrorCreate(cmd *commander.Command, args []string) error {
mirrorName = args[0]
if len(args) == 2 {
archiveURL, distribution, components, err = debian.ParsePPA(args[1])
archiveURL, distribution, components, err = debian.ParsePPA(args[1], context.Config())
if err != nil {
return err
}