From e7f4183921fa172f2afb5c126eed164fca19ca08 Mon Sep 17 00:00:00 2001 From: Ryan Maleki Date: Fri, 4 Mar 2022 14:28:41 -0800 Subject: [PATCH] s/requriements/requirements (#1473) --- pkg/apis/provisioning/v1alpha5/requirements.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/provisioning/v1alpha5/requirements.go b/pkg/apis/provisioning/v1alpha5/requirements.go index 715d16b3234b..23c5eaf54b90 100644 --- a/pkg/apis/provisioning/v1alpha5/requirements.go +++ b/pkg/apis/provisioning/v1alpha5/requirements.go @@ -91,12 +91,12 @@ type Requirements struct { requirements map[string]sets.Set `json:"-"` } -// NewRequirements constructs requiremnets from NodeSelectorRequirements +// NewRequirements constructs requirements from NodeSelectorRequirements func NewRequirements(requirements ...v1.NodeSelectorRequirement) Requirements { return Requirements{requirements: map[string]sets.Set{}}.Add(requirements...) } -// NewLabelRequirements constructs requriements from labels +// NewLabelRequirements constructs requirements from labels func NewLabelRequirements(labels map[string]string) Requirements { requirements := []v1.NodeSelectorRequirement{} for key, value := range labels {