WIP: Pshing extrapolate again
This commit is contained in:
parent
366a5178b7
commit
adeb978243
@ -112,7 +112,7 @@ func (r *SIPClusterReconciler) gatherVM(sip airshipv1.SIPCluster) (error, *airsh
|
||||
// So that LB and Jump Host all leverage the same
|
||||
err = machines.Extrapolate(sip, r.Client)
|
||||
if err != nil {
|
||||
return err, machines
|
||||
return err, machines
|
||||
}
|
||||
|
||||
return nil, machines
|
||||
|
@ -30,4 +30,4 @@ type ErrorHostIpNotFound struct {
|
||||
|
||||
func (e ErrorHostIpNotFound) Error() string {
|
||||
return fmt.Sprintf("Unable to identify the vBMH Host %v IP address on interface %v required by Infrastructure Service %v ", e.HostName, e.IPInterface, e.ServiceName)
|
||||
}
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ func (ml *MachineList) scheduleIt(nodeRole airshipv1.VmRoles, nodeCfg airshipv1.
|
||||
|
||||
// Extrapolate
|
||||
// The intention is to extract the IP information from the referenced networkData field for the BareMetalHost
|
||||
func (ml *MachineList) Extrapolate(sip airshipv1.SIPCluster, c client.Client) error {
|
||||
func (ml *MachineList) Extrapolate(sip airshipv1.SIPCluster, c client.Client) error {
|
||||
// Lets get the data for all selected BMH's.
|
||||
for _, machine := range ml.bmhs {
|
||||
bmh := machine.Bmh
|
||||
|
Loading…
x
Reference in New Issue
Block a user