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
pull/2816/head
Justin Scott 8 years ago
parent 8e5a733b88
commit 66c4f7453e

@ -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
} }

Loading…
Cancel
Save