aboutsummaryrefslogtreecommitdiff
path: root/player/instructions.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2022-06-29 08:40:04 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2022-06-29 08:40:04 -0400
commit10247d7db2aaffdc617066fa261de8df6454e966 (patch)
treea5a17fde9904b27e57fa51357cbd8ae1cfe0f8d9 /player/instructions.f90
parent6f681035a7c7125a72ce04d6881c1579bdb96d09 (diff)
parentfb7136be64188cab7db34ac3ad6c8f27098173de (diff)
downloadlevitating-10247d7db2aaffdc617066fa261de8df6454e966.tar.gz
levitating-10247d7db2aaffdc617066fa261de8df6454e966.zip
Merge branch 'artifacts'
Diffstat (limited to 'player/instructions.f90')
-rw-r--r--player/instructions.f9010
1 files changed, 5 insertions, 5 deletions
diff --git a/player/instructions.f90 b/player/instructions.f90
index f9be1f9..e81a46b 100644
--- a/player/instructions.f90
+++ b/player/instructions.f90
@@ -263,14 +263,14 @@ contains
end subroutine get_task_operation
- function perform_task(j, i, capture_filename) result(success)
+ function perform_task(j, job_id, i, capture_filename) result(success)
use json_module
use tasks
use utilities
implicit none
class(json_file)::j
- integer, intent(in)::i
+ integer, intent(in)::job_id, i
character(len=:), pointer, intent(out)::capture_filename
logical::success
@@ -304,9 +304,9 @@ contains
success = .false.
else
if(index(filename, "*") > 0 .or. index(filename, "?") > 0) then
- success = upload_glob(url, filename)
+ success = upload_glob(url, filename, job_id)
else
- success = upload(url, filename)
+ success = upload(url, filename, job_id)
end if
end if
@@ -419,7 +419,7 @@ contains
Print *, "Reporting: "//trim(url)
server_status = request_to_ignored(url)
- res = perform_task(j, i, captured_filename)
+ res = perform_task(j, job_id, i, captured_filename)
if(associated(captured_filename)) then
if(res) then