Skip to content

Commit 2ae5a30

Browse files
committed
refactor(update): remove guard that blocked ReadClusterResources from recomputing on node update
1 parent b5cc0f8 commit 2ae5a30

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

internal/system/update_builder.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ func BuildUpdateV1_1(
8888
update.Status = buildStatus()
8989
update.Health = buildHealth(ctx, instStore, proxyHandler)
9090
update.Resources = buildResources(ctx, topCollector, isFullSync)
91-
if cfg.ClusterMemory > 0 {
92-
update.ClusterResources = ReadClusterResources()
93-
}
91+
update.ClusterResources = ReadClusterResources()
9492
update.Proxy = buildProxy(proxyHandler, isFullSync)
9593
update.Processes = buildProcesses(ctx, topCollector, isFullSync)
9694
update.Diagnostics = buildDiagnostics(ctx, instStore, isFullSync, workerMaxConcurrent, workerActiveJobs)

0 commit comments

Comments
 (0)