Revision 3ccafd0e daemons/ganeti-masterd
b/daemons/ganeti-masterd | ||
---|---|---|
252 | 252 |
op = opcodes.OpQueryConfigValues(output_fields=fields) |
253 | 253 |
return self._Query(op) |
254 | 254 |
|
255 |
elif method == luxi.REQ_QUEUE_SET_DRAIN_FLAG: |
|
256 |
drain_flag = args |
|
257 |
return queue.SetDrainFlag(drain_flag) |
|
258 |
|
|
255 | 259 |
else: |
256 | 260 |
raise ValueError("Invalid operation") |
257 | 261 |
|
Also available in: Unified diff