From e405fdfd849f62e5dd24df3b47256161de834515 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Thu, 8 Feb 2024 08:10:59 +1000 Subject: [PATCH] Fix BaremetalSetTemplate spelling Signed-off-by: Brendan Shephard --- controllers/openstackdataplanenodeset_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/openstackdataplanenodeset_controller.go b/controllers/openstackdataplanenodeset_controller.go index 240a984ba..7dc6b2031 100644 --- a/controllers/openstackdataplanenodeset_controller.go +++ b/controllers/openstackdataplanenodeset_controller.go @@ -70,7 +70,7 @@ const ( // NodeConfigElements is a struct containing just the elements used for Ansible executions type NodeConfigElements struct { - BaremetalSetTempalte baremetalv1.OpenStackBaremetalSetSpec + BaremetalSetTemplate baremetalv1.OpenStackBaremetalSetSpec NodeTemplate dataplanev1.NodeTemplate Nodes map[string]dataplanev1.NodeSection } @@ -473,7 +473,7 @@ func (r *OpenStackDataPlaneNodeSetReconciler) SetupWithManager(mgr ctrl.Manager) // We then hash the contents of the new struct using md5 and return the hashed string. func (r *OpenStackDataPlaneNodeSetReconciler) GetSpecConfigHash(instance *dataplanev1.OpenStackDataPlaneNodeSet) (string, error) { nodeConfig := &NodeConfigElements{ - BaremetalSetTempalte: instance.Spec.BaremetalSetTemplate, + BaremetalSetTemplate: instance.Spec.BaremetalSetTemplate, NodeTemplate: instance.Spec.NodeTemplate, Nodes: instance.Spec.Nodes, }