Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwilsonkainos committed Nov 15, 2023
1 parent cc96884 commit a0985b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func gvkLessThan(gvk1, gvk2 resid.Gvk, typeOrders map[string]int) bool {
if (gvk1.Kind == types.NamespaceKind && gvk2.Kind == types.NamespaceKind) && (gvk1.Group == "" || gvk2.Group == "") {
return legacyGVKSortString(gvk1) > legacyGVKSortString(gvk2)
}
return legacyGVKSortString(gvk1) < legacyGVKSortString(gvk
return legacyGVKSortString(gvk1) < legacyGVKSortString(gvk)

// legacyGVKSortString returns a string representation of given GVK used for
// stable sorting.
Expand Down

0 comments on commit a0985b1

Please sign in to comment.