Skip to content

Commit

Permalink
[#2146] Fixed a physical_path() that should have been a logical_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKyleJames authored and korydraughn committed Jan 18, 2024
1 parent d93db0b commit d1e5e0b
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 d1e5e0b

Please sign in to comment.