mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 02:00:39 +00:00
Add Matches() to pkg.Package
This commit is contained in:
@@ -216,7 +216,7 @@ func (assertions PackagesAssertions) Drop(p pkg.Package) PackagesAssertions {
|
||||
ass := PackagesAssertions{}
|
||||
|
||||
for _, a := range assertions {
|
||||
if a.Package.GetFingerPrint() != p.GetFingerPrint() {
|
||||
if !a.Package.Matches(p) {
|
||||
ass = append(ass, a)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user