Refactor RefList.FilterLatestRefs to be method instead of standalone func.

This commit is contained in:
Andrey Smirnov committed 2014-10-07 19:29:01 +04:00
1 parent 1f6880fcad
commit dd7b7b5f20
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func aptlySnapshotMerge(cmd *commander.Command, args []string) error {
}
if latest {
deb.FilterLatestRefs(result)
result.FilterLatestRefs()
}
sourceDescription := make([]string, len(sources))