diff --git a/pkg/util/cnr.go b/pkg/util/cnr.go index 2a72eb715..bba78c3a6 100644 --- a/pkg/util/cnr.go +++ b/pkg/util/cnr.go @@ -202,7 +202,7 @@ func MergeAttributes(dst, src []apis.Attribute) []apis.Attribute { } sort.SliceStable(attrs, func(i, j int) bool { - return attrs[i].Name < attrs[j].Value + return attrs[i].Name < attrs[j].Name }) return attrs