Helper for failing a deque of operations.
| 256 | |
| 257 | // Helper for failing a deque of operations. |
| 258 | void fail(deque<Owned<RegistryOperation>>* operations, const string& message) |
| 259 | { |
| 260 | while (!operations->empty()) { |
| 261 | operations->front()->fail(message); |
| 262 | operations->pop_front(); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | |
| 267 | Future<Response> RegistrarProcess::getRegistry( |