From 16e844643af5785dba3de50409d75f94d104ebfa Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 9 Aug 2021 16:17:01 +0200 Subject: [PATCH] fix: catch suffix comparison bug Upstream'd to coopcloud/tagcmp also. --- tagcmp/tagcmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagcmp/tagcmp.go b/tagcmp/tagcmp.go index 2e0183d99..55d248e32 100644 --- a/tagcmp/tagcmp.go +++ b/tagcmp/tagcmp.go @@ -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 }