aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnv1 <pnv1@yandex-team.ru>2022-04-09 19:31:41 +0300
committerpnv1 <pnv1@yandex-team.ru>2022-04-09 19:31:41 +0300
commitc12812abd1f7caf353f55875a2657781d57a9114 (patch)
treeac1534598e898546e20dcba693c24dfecb26be0b
parent215dcaf18065c45b2d47649a784f454116e2bcb7 (diff)
downloadydb-c12812abd1f7caf353f55875a2657781d57a9114.tar.gz
Fix listing sub-domain, KIKIMR-10435
ref:b0365a0d990417731fba48dd51e9c32c002dcd4b
-rw-r--r--ydb/public/lib/ydb_cli/common/scheme_printers.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/common/scheme_printers.cpp b/ydb/public/lib/ydb_cli/common/scheme_printers.cpp
index cfd7265582..8d84c07a1d 100644
--- a/ydb/public/lib/ydb_cli/common/scheme_printers.cpp
+++ b/ydb/public/lib/ydb_cli/common/scheme_printers.cpp
@@ -25,7 +25,10 @@ void TSchemePrinterBase::PrintDirectoryRecursive(const TString& fullPath, const
).GetValueSync();
ThrowOnError(result);
- if (relativePath || result.GetEntry().Type == NScheme::ESchemeEntryType::Directory) {
+ if (relativePath
+ || result.GetEntry().Type == NScheme::ESchemeEntryType::Directory
+ || result.GetEntry().Type == NScheme::ESchemeEntryType::SubDomain)
+ {
PrintDirectory(relativePath, result);
} else {
PrintEntry(relativePath, result.GetEntry());