Revision be811997 Ganeti/HTools/IAlloc.hs
b/Ganeti/HTools/IAlloc.hs | ||
---|---|---|
158 | 158 |
-- | Formats the response into a valid IAllocator response message. |
159 | 159 |
formatResponse :: Bool -- ^ Whether the request was successful |
160 | 160 |
-> String -- ^ Information text |
161 |
-> String -- ^ Suffix for nodes/instances
|
|
161 |
-> String -- ^ Suffix for nodes and instances
|
|
162 | 162 |
-> RqType -- ^ Request type |
163 | 163 |
-> [Node.AllocElement] -- ^ The resulting allocations |
164 | 164 |
-> String -- ^ The JSON-formatted message |
Also available in: Unified diff