From c9b32b99c06bbfbd0efd756333db7e48db7442aa Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 24 Sep 2024 15:18:13 +0100 Subject: [PATCH] prometheus-node-exporter-lua: Fix typos Signed-off-by: Jack Baldry --- .../files/usr/lib/lua/prometheus-collectors/nat_traffic.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua index 24e4ca1f93..66d8342a6c 100644 --- a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua +++ b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua @@ -1,10 +1,10 @@ local function scrape() - -- documetation about nf_conntrack: + -- documentation about nf_conntrack: -- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html - -- two dimesional table to sum bytes for the pair (src/dest) + -- two dimensional table to sum bytes for the pair (src/dest) local nat = {} - -- default constructor to init unknow pairs + -- default constructor to initialize unknown pairs setmetatable(nat, { __index = function (t, addr) t[addr] = {} -- 2.30.2