summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@ut.ee>2025-05-05 23:48:10 +0300
committerRasmus Luha <rasmus.luha@ut.ee>2025-05-05 23:48:10 +0300
commit3c58b8e8f6f888473b37b91cc604b22647bec686 (patch)
tree0404142e3e564597937591faed2f5d3342810802 /main.py
parentab4d535e4caf1d5fc1ed8097407b13bf8a0d98af (diff)
telegraf advanced tempalte working
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.py b/main.py
index 20208ba..e4f72f3 100755
--- a/main.py
+++ b/main.py
@@ -5,7 +5,8 @@ import sys
AVAILABLE_PLATFORMS = {
"1": ("Nifi", nifi),
- "2": ("Telegraf", telegraf)}
+ "2": ("Telegraf", telegraf)
+ }
def list_platforms():
@@ -16,7 +17,7 @@ def list_platforms():
def main():
- ## Kontrolli kas platform andi käsureamuutujana
+ ## Kontrolli kas platform anti käsureamuutujana
if len(sys.argv) >= 2:
platform = sys.argv[1].lower()
if platform not in ("telegraf", "nifi"):