aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBulat Gayazov <bylatgr@gmail.com>2023-10-19 19:09:11 +0300
committerbrgayazov <bulat@ydb.tech>2023-10-19 19:32:30 +0300
commit8f6ce3db4c6eb113f7950898ac756095e7423ca6 (patch)
treecbecc91f5876149d2e3a64348bebb5428e3eb04e
parentaf28e86f3a8a7ef431a470291491fd2c0ddfe582 (diff)
downloadydb-8f6ce3db4c6eb113f7950898ac756095e7423ca6.tar.gz
Fixed output of "Using auth token from default token file" in non-verbose mode
Fixed output of "Using auth token from default token file" in non-verbose mode Pull Request resolved: https://github.com/ydb-platform/ydb/pull/402
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp b/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
index 2a4ad4f7af2..f9ae625a359 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
+++ b/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
@@ -927,7 +927,7 @@ void TClientCommandRootCommon::ParseCredentials(TConfig& config) {
TString fileContent;
if (ReadFromFileIfExists(tokenFile, "default token", fileContent)) {
if (!IsAuthSet) {
- if (!IsVerbose()) {
+ if (IsVerbose()) {
Cout << "Using auth token from default token file " << defaultTokenFile << Endl;
}
config.ChosenAuthMethod = "token";