aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew-rykov <arykov@ydb.tech>2023-11-29 00:59:48 +0300
committerandrew-rykov <arykov@ydb.tech>2023-11-29 01:42:54 +0300
commit4c48882379d93a43bd74060add09e309ce5e5002 (patch)
treea9ba7985a34d0fc520ad5de51d0414aad7a23580
parentb3e11fd833169c68558b37aa224817e46b983213 (diff)
downloadydb-4c48882379d93a43bd74060add09e309ce5e5002.tar.gz
space problem nodes return unavailable
-rw-r--r--ydb/core/viewer/json_nodes.h2
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;
}
}