Skip to content

Commit 007b659

Browse files
committed
3
1 parent 3810fb5 commit 007b659

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/shell/commands/debugger.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ bool mlog_dump(command_executor *e, shell_context *sc, arguments args)
114114

115115
char splitters[] = {'\\', '/', 0};
116116
auto slog_dir_tmp = slog_dir;
117-
std::string name = dsn::utils::get_last_component(dirname((char *)slog_dir_tmp.c_str()), splitters);
117+
std::string name =
118+
dsn::utils::get_last_component(dirname((char *)slog_dir_tmp.c_str()), splitters);
118119
if (name.empty()) {
119120
return false;
120121
}

src/tools/mutation_log_tool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ bool mutation_log_tool::dump(
7070
ai.__set_app_type("pegasus");
7171
auto stub = std::make_shared<replica_stub>();
7272
auto *rep = new replica(stub.get(), pid, ai, dn.get(), false, false);
73-
auto mlog = std::make_shared<mutation_log_private>(
74-
log_dir, FLAGS_log_private_file_size_mb, pid, rep);
73+
auto mlog =
74+
std::make_shared<mutation_log_private>(log_dir, FLAGS_log_private_file_size_mb, pid, rep);
7575
error_code err = mlog->open(
7676
[mlog, &output, callback](int log_length, mutation_ptr &mu) -> bool {
7777
std::cout << "1" << std::endl;

0 commit comments

Comments
 (0)