Doc page for scheduler is not stable (for man pages)

Need to sort maps
This commit is contained in:
Clayton Coleman 2016-09-09 01:09:14 -04:00
parent bed9f4d36c
commit adc3761bfc
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3

View File

@ -19,6 +19,7 @@ package factory
import (
"fmt"
"regexp"
"sort"
"strings"
"sync"
@ -317,5 +318,6 @@ func ListAlgorithmProviders() string {
for name := range algorithmProviderMap {
availableAlgorithmProviders = append(availableAlgorithmProviders, name)
}
sort.Strings(availableAlgorithmProviders)
return strings.Join(availableAlgorithmProviders, " | ")
}