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

This commit is contained in:
Andrey Smirnov
2014-10-07 19:29:01 +04:00
parent 1f6880fcad
commit dd7b7b5f20
3 changed files with 7 additions and 7 deletions
+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))