mirror of https://github.com/kubernetes/kops.git
Use sort.Strings
This commit is contained in:
parent
ec67c4acdc
commit
9d41b64f2e
|
@ -101,8 +101,8 @@ func TestTaintsApplied(t *testing.T) {
|
|||
}
|
||||
|
||||
func stringSlicesEqual(exp, other []string) bool {
|
||||
sort.Sort(sort.StringSlice(exp))
|
||||
sort.Sort(sort.StringSlice(other))
|
||||
sort.Strings(exp)
|
||||
sort.Strings(other)
|
||||
if exp == nil && other != nil {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue