diff --git a/nodeup/pkg/model/kubelet_test.go b/nodeup/pkg/model/kubelet_test.go index 4648790ea8..73a64ab1f1 100644 --- a/nodeup/pkg/model/kubelet_test.go +++ b/nodeup/pkg/model/kubelet_test.go @@ -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 }