Revision a9532fb0 lib/server/masterd.py
b/lib/server/masterd.py | ||
---|---|---|
361 | 361 |
elif what == constants.QR_JOB: |
362 | 362 |
return queue.QueryJobs(fields, qfilter) |
363 | 363 |
elif what in constants.QR_VIA_LUXI: |
364 |
raise NotImplementedError |
|
364 |
luxi_client = runtime.GetClient(query=True) |
|
365 |
result = luxi_client.Query(what, fields, qfilter).ToDict() |
|
365 | 366 |
else: |
366 | 367 |
raise errors.OpPrereqError("Resource type '%s' unknown" % what, |
367 | 368 |
errors.ECODE_INVAL) |
Also available in: Unified diff