make the upload use the okhttp3 version
This commit is contained in:
parent
6c50524c1e
commit
e9766bd25b
|
@ -83,8 +83,7 @@ public class SendToZenodoHDFS implements Serializable {
|
||||||
String name = pString.substring(pString.lastIndexOf("/") + 1);
|
String name = pString.substring(pString.lastIndexOf("/") + 1);
|
||||||
|
|
||||||
FSDataInputStream inputStream = fileSystem.open(p);
|
FSDataInputStream inputStream = fileSystem.open(p);
|
||||||
zenodoApiClient.uploadIS(inputStream, name);
|
zenodoApiClient.uploadIS3(inputStream, name, fileSystem.getFileStatus(p).getLen());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue