Skip to content

Commit

Permalink
[irods#2146] Fixed a physical_path() that should have been a logical_…
Browse files Browse the repository at this point in the history
…path()
  • Loading branch information
JustinKyleJames committed Jan 18, 2024
1 parent d93db0b commit 4801a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3/s3_operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ namespace irods_s3 {
// There is no L1desc[] entry. Look up the object_id via GenQuery. Reverse it
// for the key. Write the physical_path to object->physical_path().

auto path(boost::filesystem::path(object->physical_path()));
auto path(boost::filesystem::path(object->logical_path()));
std::string query_string = fmt::format("SELECT DATA_ID WHERE DATA_NAME = '{}' AND COLL_NAME = '{}'",
path.filename().c_str(),
path.parent_path().c_str());
Expand Down

0 comments on commit 4801a85

Please sign in to comment.