From f8dc0f550f169e7bb322a2039cfa266d8e8026f1 Mon Sep 17 00:00:00 2001 From: Erik Foris Date: Wed, 27 Mar 2024 16:11:03 +0100 Subject: [PATCH] try to make it run continously --- cmd/kpimon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/kpimon.go b/cmd/kpimon.go index 75f9301..edb1fbb 100644 --- a/cmd/kpimon.go +++ b/cmd/kpimon.go @@ -24,12 +24,13 @@ func main() { println(responseDeRegisterString) time.Sleep(5 * time.Second) + response, err := registerXApp() for true { registerXApp() } - response, err := registerXApp() + response, err = registerXApp() if err != nil { print("Error: " + err.Error())