mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-30 03:15:05 +00:00
753 fixing tests
This commit is contained in:
parent
d43456b681
commit
23d2a215dc
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
|
@ -415,5 +416,9 @@ func replacePodWithPodControllers(kinds []string, controllers []string) []string
|
|||
output = append(output, kind)
|
||||
}
|
||||
|
||||
sort.Slice(output, func(i, j int) bool {
|
||||
return output[i] < output[j]
|
||||
})
|
||||
|
||||
return output
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue