Stop modifying names for internal computations
Currently the name used internally is modified and holds the shortened name of the nodes/instances. This has caused issues before, since we always have to strip the suffix from input data and reapply it if we need to send data back to Ganeti. This patch changes the code such that the names are never modified, only the alias, and all the internal computations can forget about the common suffix addition/removal.
Showing
- Ganeti/HTools/Cluster.hs 4 additions, 4 deletionsGaneti/HTools/Cluster.hs
- Ganeti/HTools/ExtLoader.hs 4 additions, 3 deletionsGaneti/HTools/ExtLoader.hs
- Ganeti/HTools/IAlloc.hs 13 additions, 17 deletionsGaneti/HTools/IAlloc.hs
- Ganeti/HTools/Instance.hs 4 additions, 4 deletionsGaneti/HTools/Instance.hs
- Ganeti/HTools/Loader.hs 13 additions, 11 deletionsGaneti/HTools/Loader.hs
- Ganeti/HTools/Node.hs 4 additions, 9 deletionsGaneti/HTools/Node.hs
- Ganeti/HTools/Types.hs 8 additions, 2 deletionsGaneti/HTools/Types.hs
- hail.hs 3 additions, 3 deletionshail.hs
- hbal.hs 8 additions, 7 deletionshbal.hs
- hscan.hs 16 additions, 17 deletionshscan.hs
- hspace.hs 2 additions, 1 deletionhspace.hs
Loading
Please register or sign in to comment