Skip to content
Snippets Groups Projects
Commit 360fe5b6 authored by Ramon Nou's avatar Ramon Nou
Browse files

added none

parent 28f445a4
No related branches found
No related tags found
1 merge request!126Resolve "Root issues and stage-out with SPANK"
Pipeline #4550 passed
......@@ -62,8 +62,11 @@ dataset_process(std::string id) {
} else if(id.find("dataclay:") != std::string::npos) {
id = id.substr(strlen("dataclay:"));
type = cargo::dataset::type::dataclay;
} else
} else if(id.find("posix:") != std::string::npos) {
id = id.substr(strlen("posix:"));
type = cargo::dataset::type::posix;
}
else type = cargo::dataset::type::none;
return cargo::dataset{id, type};
}
......@@ -850,7 +853,7 @@ rpc_server::transfer_datasets(const network::request& req, scord::job_id job_id,
std::transform(targets.cbegin(), targets.cend(),
std::back_inserter(outputs),
[](const auto& tgt) { return ::dataset_process(tgt.id()); });
const auto cargo_tx = cargo::transfer_datasets(srv, inputs, outputs);
// Register the transfer into the `tranfer_manager`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment