fix: catch suffix comparison bug

Upstream'd to coopcloud/tagcmp also.
This commit is contained in:
decentral1se 2021-08-09 16:17:01 +02:00
parent 7ad812ad98
commit 16e844643a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ func (t Tag) IsCompatible(tag Tag) bool {
return false
}
if t.Suffix != "" && tag.Suffix == "" {
if t.Suffix != "" && tag.Suffix == "" || t.Suffix == "" && tag.Suffix != "" {
return false
}