258259260261262263264265266267268
if (isRackDead(rackId)) { rackManager.removeDead(rackId); } SingularityRack newRack = new SingularityRack(rackId); rackManager.save(newRack); return new SaveResultHolder(Optional.of((SingularityMachineAbstraction) newRack), SaveResult.NEW); }