fix
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-09-28 15:01:06 -05:00
parent 7bf69ec350
commit 26fffdd3e8

View File

@ -419,15 +419,13 @@ auto file_manager::handle_file_rename(const std::string &from_api_path,
swap_renamed_items(from_api_path, to_api_path);
ret = source_path.empty()
? api_error::success
: provider_.set_item_meta(to_api_path, META_SOURCE, source_path);
if (should_upload) {
queue_upload(to_api_path, source_path, false);
}
return ret;
return source_path.empty()
? api_error::success
: provider_.set_item_meta(to_api_path, META_SOURCE, source_path);
}
auto file_manager::has_no_open_file_handles() const -> bool {