Skip to content

Commit 1e9f7cc

Browse files
committed
[bugfix] switch file
Signed-off-by: zhuangbowei.zbw <zhuangbowei.zbw@alibaba-inc.com>
1 parent bcb8f21 commit 1e9f7cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/switch_file.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class SwitchFile : public ISwitchFile {
9494
LOG_ERROR("failed to open commit file as zfile, path: `", m_filepath);
9595
return;
9696
}
97+
file = zfile;
9798
LOG_INFO("switch to localfile '`' success.", m_filepath);
9899
m_local_file = file;
99100
}

0 commit comments

Comments
 (0)