ctucx.git: fritzbox-exporter

[nimlang] prometheus exporter for lte fritzboxes

commit 02cdb689aaa2ba58ee3dc4315ae0b0e619cf6d3d
parent da526b22a58c043a25c6f97bef6c46ce1fac23bd
Author: Isabelle K <hi@f2k1.de>
Date: Wed, 5 Aug 2020 20:31:02 +0200

fix typo
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/fb_exporter.nim b/src/fb_exporter.nim
@@ -120,7 +120,7 @@ proc prometheusResponse* (request: Request, state: JsonNode) {.async.} =
             if cell != "":
               if data[cell].hasKey("technology"):
                 let cell_technology = data[cell]["technology"].getStr
-                res &= "fritzbox_cell_techology{cell=\"" & $num & "\"} " & $(cell_techology) & " " & $(lastUpdated * 1000) & "\n"
+                res &= "fritzbox_cell_techology{cell=\"" & $num & "\"} " & $(cell_technology) & " " & $(lastUpdated * 1000) & "\n"
 
               if data[cell].hasKey("quality"):
                 let cell_quality = data[cell]["quality"].getInt

@@ -200,4 +200,4 @@ proc main =  # for gcsafe
 
   server.start()
 
-main()-
\ No newline at end of file
+main()