Merge pull request #125477 from my-git9/namespaceformat

Modify some error words
This commit is contained in:
Kubernetes Prow Robot
2024-10-17 17:17:17 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -21984,15 +21984,15 @@ func TestCrossNamespaceSource(t *testing.T) {
expectedFail: true,
claimSpec: pvcSpecWithCrossNamespaceSource(nil, "UnsupportedKind", &goodNS, goodName, false),
}, {
testName: "Feature gate enabled and xns DataSourceRef with invalid namspace specified",
testName: "Feature gate enabled and xns DataSourceRef with invalid namespace specified",
expectedFail: true,
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &badNS, goodName, false),
}, {
testName: "Feature gate enabled and xns DataSourceRef with nil namspace specified",
testName: "Feature gate enabled and xns DataSourceRef with nil namespace specified",
expectedFail: false,
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, nil, goodName, false),
}, {
testName: "Feature gate enabled and xns DataSourceRef with empty namspace specified",
testName: "Feature gate enabled and xns DataSourceRef with empty namespace specified",
expectedFail: false,
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &emptyNS, goodName, false),
}, {