Skip to content

Commit c6ad6fa

Browse files
authored
Merge pull request kubernetes#125477 from my-git9/namespaceformat
Modify some error words
2 parents e609926 + c383242 commit c6ad6fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/apis/core/validation/validation_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21984,15 +21984,15 @@ func TestCrossNamespaceSource(t *testing.T) {
2198421984
expectedFail: true,
2198521985
claimSpec: pvcSpecWithCrossNamespaceSource(nil, "UnsupportedKind", &goodNS, goodName, false),
2198621986
}, {
21987-
testName: "Feature gate enabled and xns DataSourceRef with invalid namspace specified",
21987+
testName: "Feature gate enabled and xns DataSourceRef with invalid namespace specified",
2198821988
expectedFail: true,
2198921989
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &badNS, goodName, false),
2199021990
}, {
21991-
testName: "Feature gate enabled and xns DataSourceRef with nil namspace specified",
21991+
testName: "Feature gate enabled and xns DataSourceRef with nil namespace specified",
2199221992
expectedFail: false,
2199321993
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, nil, goodName, false),
2199421994
}, {
21995-
testName: "Feature gate enabled and xns DataSourceRef with empty namspace specified",
21995+
testName: "Feature gate enabled and xns DataSourceRef with empty namespace specified",
2199621996
expectedFail: false,
2199721997
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &emptyNS, goodName, false),
2199821998
}, {

test/e2e_node/podresources_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ func teardownSampleDevicePluginOrFail(ctx context.Context, f *framework.Framewor
13151315
ginkgo.By(fmt.Sprintf("Delete sample device plugin pod %s/%s", pod.Namespace, pod.Name))
13161316
err := f.ClientSet.CoreV1().Pods(pod.Namespace).Delete(ctx, pod.Name, deleteOptions)
13171317

1318-
framework.ExpectNoError(err, "Failed to delete Pod %v in Namspace %v", pod.Name, pod.Namespace)
1318+
framework.ExpectNoError(err, "Failed to delete Pod %v in Namespace %v", pod.Name, pod.Namespace)
13191319
waitForAllContainerRemoval(ctx, pod.Name, pod.Namespace)
13201320
}
13211321

0 commit comments

Comments
 (0)