diff options
author | andrew-rykov <arykov@ydb.tech> | 2023-11-29 00:59:48 +0300 |
---|---|---|
committer | andrew-rykov <arykov@ydb.tech> | 2023-11-29 01:42:54 +0300 |
commit | 4c48882379d93a43bd74060add09e309ce5e5002 (patch) | |
tree | a9ba7985a34d0fc520ad5de51d0414aad7a23580 | |
parent | b3e11fd833169c68558b37aa224817e46b983213 (diff) | |
download | ydb-4c48882379d93a43bd74060add09e309ce5e5002.tar.gz |
space problem nodes return unavailable
-rw-r--r-- | ydb/core/viewer/json_nodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/viewer/json_nodes.h b/ydb/core/viewer/json_nodes.h index 06e68ac4da..5d24df1489 100644 --- a/ydb/core/viewer/json_nodes.h +++ b/ydb/core/viewer/json_nodes.h @@ -258,7 +258,7 @@ public: if (itSysInfo != SysInfo.end() && itSysInfo->second.SystemStateInfoSize() > 0) { const auto& sysState(itSysInfo->second.GetSystemStateInfo(0)); if (Storage && With == EWith::SpaceProblems) { - if (sysState.GetMaxDiskUsage() < 0.85) { + if (!sysState.HasMaxDiskUsage() || sysState.GetMaxDiskUsage() < 0.85) { return false; } } |