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 Mar 4, 2021
1 parent fa7eab5 commit 028fc7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/meta/backup_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ error_code backup_engine::backup_app_meta()
}
// do not write app envs to backup file
app_state tmp = *app;
if (!tmp.envs.empty()) {
tmp.envs.clear();
}
tmp.envs.clear();
buffer = dsn::json::json_forwarder<app_info>::encode(tmp);
}
std::string file_name = cold_backup::get_app_metadata_file(_backup_service->backup_root(),
Expand Down

0 comments on commit 028fc7f

Please sign in to comment.