Revised code based on code review

This commit is contained in:
Kaivan Kamali
2022-01-18 10:14:35 -05:00
parent 28423d27ef
commit 2b70e34a61
+1 -1
View File
@@ -429,7 +429,7 @@ class IRODSObjectStore(DiskObjectStore, CloudConfigMixin):
log.debug("Pushing cache file '%s' of size %s bytes to collection '%s'", source_file, os.path.getsize(source_file), rel_path)
# Add the source file to the irods collection
self.session.data_objects.put(source_file, f"{collection_path}/", **options)
self.session.data_objects.put(source_file, data_object_path, **options)
end_time = datetime.now()
log.debug("Pushed cache file '%s' to collection '%s' (%s bytes transfered in %s sec)",