Merge pull request #69730 from xichengliudui/fix18101204

Fix some typo
This commit is contained in:
k8s-ci-robot 2018-10-22 23:59:24 -07:00 committed by GitHub
commit e77e8ffbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ func TestSimpleDaemonSetScheduleDaemonSetPodsLaunchesPods(t *testing.T) {
}
if len(nodeSelector.NodeSelectorTerms[0].MatchFields) != 1 {
t.Fatalf("incorrect number of fields in in node selector term for pod %s, expected: 1, got: %d.",
t.Fatalf("incorrect number of fields in node selector term for pod %s, expected: 1, got: %d.",
pod.Name, len(nodeSelector.NodeSelectorTerms[0].MatchFields))
}

View File

@ -1166,7 +1166,7 @@ func (t *Tester) testDeleteGracefulShorten(obj runtime.Object, createFn CreateFu
// testGetDifferentNamespace ensures same-name objects in different namespaces do not clash
func (t *Tester) testGetDifferentNamespace(obj runtime.Object) {
if t.clusterScope {
t.Fatalf("the test does not work in in cluster-scope")
t.Fatalf("the test does not work in cluster-scope")
}
objMeta := t.getObjectMetaOrFail(obj)