Skip to content

Commit

Permalink
engine: support for newer versions of singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Mar 1, 2020
1 parent 2117510 commit 6835b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine/singularity.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let url_of_image : Command.container_image -> string = function

let fetch_image img dest =
let url = url_of_image img in
let cmd = [| "singularity" ; "pull" ; dest ; url |] in
let cmd = [| "singularity" ; "pull" ; "--name" ; dest ; url |] in
Lwt_process.exec ~stderr:`Dev_null ~stdout:`Dev_null ("", cmd) >>= function
| WEXITED 0 -> Lwt_result.return ()
| WEXITED n
Expand Down

0 comments on commit 6835b3b

Please sign in to comment.