Skip to content

Commit b27168f

Browse files
committed
fix MergeAttributes sort zone attribute
1 parent 5268e8e commit b27168f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/cnr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func MergeAttributes(dst, src []apis.Attribute) []apis.Attribute {
202202
}
203203

204204
sort.SliceStable(attrs, func(i, j int) bool {
205-
return attrs[i].Name < attrs[j].Value
205+
return attrs[i].Name < attrs[j].Name
206206
})
207207

208208
return attrs

0 commit comments

Comments
 (0)