aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Perfilov <pnv902@gmail.com>2022-06-30 04:42:25 +0300
committerNikolay Perfilov <pnv902@gmail.com>2022-06-30 04:42:25 +0300
commit82f2ec5a06338ba51ba6d2cc76a2c5664dc57323 (patch)
tree4c8d0aeb9aa3b0922c5411666d895761a4db033b
parentc98d93e22358d17b43d0c558445af14895557c6e (diff)
downloadydb-82f2ec5a06338ba51ba6d2cc76a2c5664dc57323.tar.gz
Fix setting outdated field after updating ydb cli binary, KIKIMR-15119
ref:24a993c0c7a1b6a2e79e8a53fef1fa7da8ac7ebb
-rw-r--r--ydb/public/lib/ydb_cli/common/ydb_updater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/common/ydb_updater.cpp b/ydb/public/lib/ydb_cli/common/ydb_updater.cpp
index 820cc49dd1..e9b6a5b20d 100644
--- a/ydb/public/lib/ydb_cli/common/ydb_updater.cpp
+++ b/ydb/public/lib/ydb_cli/common/ydb_updater.cpp
@@ -129,7 +129,7 @@ int TYdbUpdater::Update(bool forceUpdate) {
tmpPathToBinary.RenameTo(fsPathToBinary);
Cout << "New binary renamed to " << fsPathToBinary.GetPath() << Endl;
- SetConfigValue("outdated", true);
+ SetConfigValue("outdated", false);
return EXIT_SUCCESS;
}