Skip to content

Commit

Permalink
[73] code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKyleJames committed May 9, 2024
1 parent a3cd0ab commit 7086a36
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions DSI/globus_gridftp_server_iRODS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2009,8 +2009,6 @@ globus_l_gfs_iRODS_recv(
globus_gfs_transfer_info_t * transfer_info,
void * user_arg)
{
namespace fs = irods::experimental::filesystem;

GlobusGFSName(globus_l_gfs_iRODS_recv);

globus_gfs_log_message(GLOBUS_GFS_LOG_INFO, "iRODS: %s called\n", __FUNCTION__);
Expand Down Expand Up @@ -2207,9 +2205,9 @@ globus_l_gfs_iRODS_recv(
json_input["logical_path"] = collection;
json_input["options"]["no_create"] = true;
json_input["options"]["seconds_since_epoch"] = iRODS_handle->utime;
if (const auto ec = rc_touch(iRODS_handle->conn, json_input.dump().data()); ec < 0) {
if (const auto ec = rc_touch(iRODS_handle->conn, json_input.dump().c_str()); ec < 0) {
globus_gfs_log_message(GLOBUS_GFS_LOG_ERR,
"iRODS: Caught an error trying to update the modify time for [%s]. Continuing without updating modify time.\n", collection);
"iRODS: Caught error (%d) trying to update the modify time for [%s]. Continuing without updating modify time.\n", ec, collection);
}
}

Expand Down

0 comments on commit 7086a36

Please sign in to comment.