summaryrefslogtreecommitdiff
path: root/src/Command/Log.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-06-29 22:20:10 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-06-30 20:38:25 +0200
commitac70a5f9aebcfd51901740681463d1ac4fa90e33 (patch)
tree353ea6ed5aaea7dab8e12e31b31e039367c4c58b /src/Command/Log.hs
parentf1beff8cdbf5a2e54ea5e36b6edf337fc45ffc8b (diff)
Explicit JobSet ID
Diffstat (limited to 'src/Command/Log.hs')
-rw-r--r--src/Command/Log.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Log.hs b/src/Command/Log.hs
index 25bfc06..e48ce8f 100644
--- a/src/Command/Log.hs
+++ b/src/Command/Log.hs
@@ -37,7 +37,7 @@ instance Command LogCommand where
cmdLog :: LogCommand -> CommandExec ()
cmdLog (LogCommand ref) = do
einput <- getEvalInput
- jid <- either (tfail . textEvalError) (return . jobId) =<<
+ jid <- either (tfail . textEvalError) (return . jobId . fst) =<<
liftIO (runEval (evalJobReference ref) einput)
output <- getOutput
storageDir <- getStorageDir