Skip to content

Commit f9f8438

Browse files
Merge c562171 into 50b9d76
2 parents 50b9d76 + c562171 commit f9f8438

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ydb/core/viewer/json_nodes.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ class TJsonNodes : public TViewerPipeClient<TJsonNodes> {
392392
case TSchemeCacheNavigate::EKind::KindExtSubdomain:
393393
return true;
394394
case TSchemeCacheNavigate::EKind::KindPath:
395-
return entry.CreateStep == 0;
395+
return entry.Self->Info.GetPathId() == NSchemeShard::RootPathId && entry.Path.size() == 1;
396396
default:
397397
return false;
398398
}
@@ -416,7 +416,6 @@ class TJsonNodes : public TViewerPipeClient<TJsonNodes> {
416416
if (FilterTenant.empty()) {
417417
RequestForTenant(path);
418418
}
419-
420419
if (entry.DomainInfo->ResourcesDomainKey && entry.DomainInfo->DomainKey != entry.DomainInfo->ResourcesDomainKey) {
421420
TPathId resourceDomainKey(entry.DomainInfo->ResourcesDomainKey);
422421
BLOG_TRACE("Requesting navigate for resource domain " << resourceDomainKey);

0 commit comments

Comments
 (0)