Skip to content

Commit fd6061d

Browse files
committed
follow up for prev comment
1 parent 6dfd530 commit fd6061d

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

prettifier_test.go

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@ x + sum(y)`)
284284

285285
// see https://github.com/VictoriaMetrics/metricsql/issues/54
286286
another(`(1 - (node_memory_MemFree_bytes + node_memory_Cached_bytes + node_memory_Buffers_bytes + node_memory_SReclaimable_bytes) / node_memory_MemTotal_bytes) * 100`,
287-
`
288-
(
287+
`(
289288
1
290289
-
291290
(
@@ -302,26 +301,6 @@ x + sum(y)`)
302301
)
303302
*
304303
100`)
305-
306-
`
307-
(
308-
1
309-
-
310-
(
311-
(
312-
(
313-
(node_memory_MemFree_bytes + node_memory_Cached_bytes)
314-
+
315-
node_memory_Buffers_bytes
316-
)
317-
+
318-
node_memory_SReclaimable_bytes
319-
)
320-
/
321-
node_memory_MemTotal_bytes
322-
)
323-
)
324-
*
325-
100
326-
`
327304
}
305+
306+

0 commit comments

Comments
 (0)