Skip to content

Commit 2be5e1e

Browse files
json nodes rewrite step 0
1 parent b139f2a commit 2be5e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/viewer/json_nodes.h

+2-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,7 @@ class TJsonNodes : public TViewerPipeClient<TJsonNodes> {
416416
if (FilterTenant.empty()) {
417417
RequestForTenant(path);
418418
}
419-
419+
420420
if (entry.DomainInfo->ResourcesDomainKey && entry.DomainInfo->DomainKey != entry.DomainInfo->ResourcesDomainKey) {
421421
TPathId resourceDomainKey(entry.DomainInfo->ResourcesDomainKey);
422422
BLOG_TRACE("Requesting navigate for resource domain " << resourceDomainKey);

0 commit comments

Comments
 (0)