refactor s3 provider
Some checks failed
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head There was a failure building this commit

This commit is contained in:
Scott E. Graves 2023-11-11 19:05:27 -06:00
parent a474a5c73c
commit 93011cee9c

View File

@ -55,6 +55,7 @@ get_object_list(i_http_comm &client, const s3_config &config,
}
if (prefix.has_value() && not prefix.value().empty()) {
get.query["prefix"] = prefix.value();
utils::string::left_trim(get.query["prefix"], '/');
}
get.response_handler = [&response_data](const data_buffer &data,
long /*response_code*/) {