File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ func (m *manager) CreateRemediationCR(remediationCR *unstructured.Unstructured,
183183 if remediationCR .GetAnnotations () == nil || len (remediationCR .GetAnnotations ()[annotationutils .NodeNameAnnotation ]) == 0 {
184184 err = m .Get (m .ctx , client .ObjectKeyFromObject (remediationCR ), remediationCR )
185185 } else {
186- remediationCR , err = m .fetchCRWithNodeNameAnnotation (remediationCR )
186+ remediationCR , err = m .getCRWithNodeNameAnnotation (remediationCR )
187187 }
188188
189189 // check if CR already exists
@@ -360,7 +360,7 @@ func (m *manager) getOwningMachineWithNamespace(node *corev1.Node) (*metav1.Owne
360360 return createOwnerRef (machine ), ns , nil
361361}
362362
363- func (m * manager ) fetchCRWithNodeNameAnnotation (remediationCR * unstructured.Unstructured ) (* unstructured.Unstructured , error ) {
363+ func (m * manager ) getCRWithNodeNameAnnotation (remediationCR * unstructured.Unstructured ) (* unstructured.Unstructured , error ) {
364364 nodeName := remediationCR .GetAnnotations ()[annotationutils .NodeNameAnnotation ]
365365 templateName := remediationCR .GetAnnotations ()[annotationutils .TemplateNameAnnotation ]
366366
You can’t perform that action at this time.
0 commit comments