Skip to content

Commit

Permalink
Merge c562171 into 50b9d76
Browse files Browse the repository at this point in the history
  • Loading branch information
StekPerepolnen authored May 23, 2024
2 parents 50b9d76 + c562171 commit f9f8438
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ydb/core/viewer/json_nodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ class TJsonNodes : public TViewerPipeClient<TJsonNodes> {
case TSchemeCacheNavigate::EKind::KindExtSubdomain:
return true;
case TSchemeCacheNavigate::EKind::KindPath:
return entry.CreateStep == 0;
return entry.Self->Info.GetPathId() == NSchemeShard::RootPathId && entry.Path.size() == 1;
default:
return false;
}
Expand All @@ -416,7 +416,6 @@ class TJsonNodes : public TViewerPipeClient<TJsonNodes> {
if (FilterTenant.empty()) {
RequestForTenant(path);
}

if (entry.DomainInfo->ResourcesDomainKey && entry.DomainInfo->DomainKey != entry.DomainInfo->ResourcesDomainKey) {
TPathId resourceDomainKey(entry.DomainInfo->ResourcesDomainKey);
BLOG_TRACE("Requesting navigate for resource domain " << resourceDomainKey);
Expand Down

0 comments on commit f9f8438

Please sign in to comment.