mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
Refactoring: replace sort.StringSlice with simply []string
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user