Skip to content
Snippets Groups Projects
Commit 30871a33 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Fixed wrong protocol for pushToVoSpace operation

parent be96fb2d
No related branches found
No related tags found
No related merge requests found
Pipeline #1378 passed
...@@ -88,7 +88,7 @@ public class UploadController extends BaseController { ...@@ -88,7 +88,7 @@ public class UploadController extends BaseController {
transfer.setTarget(uri); transfer.setTarget(uri);
Protocol protocol = new Protocol(); Protocol protocol = new Protocol();
protocol.setUri("ivo://ivoa.net/vospace/core#httpget"); protocol.setUri("ivo://ivoa.net/vospace/core#httpput");
transfer.getProtocols().add(protocol); transfer.getProtocols().add(protocol);
return client.getFileServiceEndpoints(transfer).get(0).getEndpoint(); return client.getFileServiceEndpoints(transfer).get(0).getEndpoint();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment