Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Fix BaremetalSetTemplate spelling #652

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading