Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyifan27 committed Oct 10, 2020
1 parent 015d303 commit a421036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/block_service/fds/fds_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,9 @@ dsn::task_ptr fds_file_object::download(const download_request &req,
}
handle->close();
if (resp.err != ERR_OK && dsn::utils::filesystem::file_exists(req.output_local_name)) {
derror("fail to download file(%s) from fds, remove localfile(%s)",
_fds_path.c_str(),
req.output_local_name.c_str());
derror_f("fail to download file {} from fds, remove localfile {}",
_fds_path,
req.output_local_name);
dsn::utils::filesystem::remove_path(req.output_local_name);
}
t->enqueue_with(resp);
Expand Down

0 comments on commit a421036

Please sign in to comment.