Merge pull request #8 from teoyaomiqui/fix-fail-log

Move fail log into the correct place
This commit is contained in:
Drew Walters
2020-12-01 10:07:13 -06:00
committed by GitHub

View File

@@ -375,8 +375,8 @@ func (ml *MachineList) scheduleIt(nodeRole airshipv1.VmRoles, nodeCfg airshipv1.
}
logger.Info("failed to get enough BMHs to complete scheduling")
if nodeTarget > 0 {
logger.Info("Failed to get enough BMHs to complete scheduling")
return ErrorUnableToFullySchedule{
TargetNode: nodeRole,
TargetFlavor: nodeCfg.VmFlavor,