chore: always sort returned formations
This commit is contained in:
1 parent
0102d219f3
commit
31abd7e31e
2 files changed
+1
-3
No files matched your search
@@ -6,7 +6,6 @@ import (
|
||||
"os"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -298,7 +297,6 @@ func TriggerPsCurrentScale(appName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
sort.Sort(formations)
|
||||
lines := []string{}
|
||||
for _, formation := range formations {
|
||||
lines = append(lines, fmt.Sprintf("%s=%d", formation.ProcessType, formation.Quantity))
|
||||
|
||||
Reference in new issue
Block a user