Refactoring: replace sort.StringSlice with simply []string

This commit is contained in:
Andrey Smirnov
2014-02-18 14:13:18 +04:00
parent 190a81e141
commit 7864ce241b
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func aptlyPublishList(cmd *commander.Command, args []string) error {
return err
}
published := make(sort.StringSlice, 0, publishedCollecton.Len())
published := make([]string, 0, publishedCollecton.Len())
err = publishedCollecton.ForEach(func(repo *debian.PublishedRepo) error {
err := publishedCollecton.LoadComplete(repo, snapshotCollection)