Commit 88772d17 authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Remove wildcard luxi operation matching in luxid



In that way, we explicitly name the operations that are not
handled by luxid and explain the reason. In particular, we
can be sure that newly added luxid operations won't be forgotten
in luxid.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent 0349f9c6
......@@ -387,9 +387,9 @@ handleCall qlock _ cfg (AutoArchiveJobs age timeout) = do
$ sortJobIDs jids
return . Ok $ showJSON result
handleCall _ _ _ op =
return . Bad $
GenericError ("Luxi call '" ++ strOfOp op ++ "' not implemented")
handleCall _ _ _ (PickupJob _) =
return . Bad
$ GenericError "Luxi call 'PickupJob' is for internal use only"
{-# ANN handleCall "HLint: ignore Too strict if" #-}
......
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