Browse Source

space problem nodes return unavailable

andrew-rykov 1 year ago
parent
commit
4c48882379
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ydb/core/viewer/json_nodes.h

+ 1 - 1
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;
                 }
             }