Skip to content

Commit

Permalink
Fix BaremetalSetTemplate spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <bshephar@redhat.com>
  • Loading branch information
bshephar committed Feb 7, 2024
1 parent 4350989 commit e405fdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/openstackdataplanenodeset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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,
}
Expand Down

0 comments on commit e405fdf

Please sign in to comment.