Commit 0349f9c6 authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Implement QueryExports in luxid handling as a classical query, using that queries for
export are already implemented. Note that QueryExport is slightly
different from other Query* Luxi requests, in that the fields are
not passed with the request, but have a fixed value.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarPetr Pudlak <>
parent 90f089c2
......@@ -221,6 +221,10 @@ handleCall _ _ cfg (QueryConfigValues fields) = do
answerEval <- sequence answer
return . Ok . showJSON $ answerEval
handleCall _ _ cfg (QueryExports nodes lock) =
handleClassicQuery cfg (Qlang.ItemTypeOpCode Qlang.QRExport)
(map Left nodes) ["node", "export"] lock
handleCall qlock qstat cfg (SubmitJobToDrainedQueue ops) = runResultT $ do
let mcs = Config.getMasterCandidates cfg
jid <- mkResultT $ allocateJobId mcs qlock
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment