Skip to content

Commit

Permalink
Merge pull request #1765 from marquiz/devel/typo
Browse files Browse the repository at this point in the history
nfd-master: fix typos
  • Loading branch information
k8s-ci-robot committed Jul 9, 2024
2 parents 005341b + ecb37c0 commit fdddae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/nfd-master/nfd-master.go
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ func (m *nfdMaster) refreshNodeFeatures(cli k8sclient.Interface, node *corev1.No
// nodeFeatureRule custom resorce. If empty list of taints is passed, currently
// NFD owned taints and annotations are removed from the node.
func setTaints(cli k8sclient.Interface, taints []corev1.Taint, node *corev1.Node) error {
// De-serialize the taints annotation into corev1.Taint type for comparision below.
// De-serialize the taints annotation into corev1.Taint type for comparison below.
var err error
oldTaints := []corev1.Taint{}
if val, ok := node.Annotations[nfdv1alpha1.NodeTaintsAnnotation]; ok {
Expand Down Expand Up @@ -1482,7 +1482,7 @@ func stringToNsNames(cslist, ns string) []string {
return names
}

// Seperate denied namespaces into two lists:
// Separate denied namespaces into two lists:
// one contains wildcard namespaces the other contains normal namespaces
func preProcessDeniedNamespaces(deniedNs map[string]struct{}) (normalDeniedNs map[string]struct{}, wildcardDeniedNs map[string]struct{}) {
normalDeniedNs = map[string]struct{}{}
Expand Down

0 comments on commit fdddae2

Please sign in to comment.