Skip to content

Commit 2eccc15

Browse files
committed
Fix the node swap avail metric
The value displayed was actually the mem avail.
1 parent 2e6b4b5 commit 2eccc15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/components/Nodes.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function NodeSwap(props) {
126126
return (
127127
<NodeMetric
128128
label="Avail Swap"
129-
value={getNodeStat(cstat, props.node, "mem_avail")}
129+
value={getNodeStat(cstat, props.node, "swap_avail")}
130130
unit="%"
131131
issue={swapIssue}
132132
refer={fancySizeMB(getNodeStat(cstat, props.node, "swap_total"))}

0 commit comments

Comments
 (0)