Merge pull request #139644 from krishhna24/fix/apiextensions-comment-typos

Fix spelling typos in apiextensions-apiserver comments
This commit is contained in:
Kubernetes Prow Robot
2026-06-12 11:58:50 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ func splitReplicasPath(replicasPath string) []string {
return strings.Split(strings.TrimPrefix(replicasPath, "."), ".")
}
// scaleFromCustomResource returns a scale subresource for a customresource and a bool signalling wether
// scaleFromCustomResource returns a scale subresource for a customresource and a bool signalling whether
// the specReplicas value was found.
func scaleFromCustomResource(cr *unstructured.Unstructured, specReplicasPath, statusReplicasPath, labelSelectorPath string) (*autoscalingv1.Scale, bool, error) {
specReplicas, foundSpecReplicas, err := unstructured.NestedInt64(cr.UnstructuredContent(), splitReplicasPath(specReplicasPath)...)

View File

@@ -222,7 +222,7 @@ func testStoragedVersionInCRDStatus(t *testing.T, ns string, noxuDefinition *api
t.Fatal(err)
}
// The storage version list should be initilized to storage version
// The storage version list should be initialized to storage version
crd, err := apiExtensionClient.ApiextensionsV1().CustomResourceDefinitions().Get(context.TODO(), noxuDefinition.Name, metav1.GetOptions{})
if err != nil {
t.Fatal(err)