Fix a typo.

This commit is contained in:
Pichu Chen
2024-03-26 15:25:23 +08:00
committed by Pichu
parent 10ae1dbb52
commit 6d45005fde
2 changed files with 2 additions and 2 deletions

View File

@@ -21578,7 +21578,7 @@ func TestValidateResourceQuota(t *testing.T) {
},
"invalid-cross-namespace-affinity": {
rq: core.ResourceQuota{ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: "foo"}, Spec: invalidCrossNamespaceAffinitySpec},
errDetail: "must be 'Exist' when scope is any of ResourceQuotaScopeTerminating, ResourceQuotaScopeNotTerminating, ResourceQuotaScopeBestEffort, ResourceQuotaScopeNotBestEffort or ResourceQuotaScopeCrossNamespacePodAffinity",
errDetail: "must be 'Exists' when scope is any of ResourceQuotaScopeTerminating, ResourceQuotaScopeNotTerminating, ResourceQuotaScopeBestEffort, ResourceQuotaScopeNotBestEffort or ResourceQuotaScopeCrossNamespacePodAffinity",
},
}
for name, tc := range testCases {