diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2022-06-29 08:33:07 -0400 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2022-06-29 08:33:07 -0400 |
commit | fb7136be64188cab7db34ac3ad6c8f27098173de (patch) | |
tree | 8660bbd7aec6a256dcaf672d5ffc4ac9c2d96fc4 /captain/external.f90 | |
parent | 6e59e791b7b4d1184e70378544b6ace433ab33aa (diff) | |
download | levitating-fb7136be64188cab7db34ac3ad6c8f27098173de.tar.gz levitating-fb7136be64188cab7db34ac3ad6c8f27098173de.zip |
Initial work to show artifacts on job pages.
Diffstat (limited to 'captain/external.f90')
-rw-r--r-- | captain/external.f90 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/captain/external.f90 b/captain/external.f90 index 07f52cb..2f7041e 100644 --- a/captain/external.f90 +++ b/captain/external.f90 @@ -1038,7 +1038,7 @@ contains end if if(associated(fullpath)) then - + ! Write the file call write_log("Storing titan file to "//trim(fullpath), LOG_DEBUG) @@ -1048,6 +1048,12 @@ contains call resp%set_body_contents(RESPONSE_JSON_OKAY) resp%body_mimetype = "text/plain" + if(req%q%has_key("job")) then + call write_log("Ok, log") + call report_upload(req) + call write_log("Upload logged?") + end if + else resp%code = GEMINI_CODE_TEMPFAIL |