Move ParsePrefix into common code. #116

This commit is contained in:
Andrey Smirnov
2014-12-23 00:50:28 +03:00
parent 923e2e1e50
commit d586f31247
6 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func aptlyPublishSnapshotOrRepo(cmd *commander.Command, args []string) error {
} else {
param = ""
}
storage, prefix := parsePrefix(param)
storage, prefix := deb.ParsePrefix(param)
var (
sources = []interface{}{}