Commit 66c4f745 authored by Justin Scott's avatar Justin Scott

feat(tiller): sort manifests alphabetically if they are same kind

Updates Tiller manifest sorting so that manifests of the same kind are
then sorted alphabetically.

Closes #1696
parent 8e5a733b
...@@ -123,5 +123,9 @@ func (k *kindSorter) Less(i, j int) bool { ...@@ -123,5 +123,9 @@ func (k *kindSorter) Less(i, j int) bool {
if !ok { if !ok {
return true return true
} }
if first == second {
// same kind so sub sort alphanumeric
return a.name < b.name
}
return first < second return first < second
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment