From 8735d8a799dc1699a342f2a4984de5c447954ba5 Mon Sep 17 00:00:00 2001 From: yair Date: Sun, 31 Dec 2023 16:51:05 +0200 Subject: [PATCH] removed --- pkg/event_handler/event_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/event_handler/event_handler.go b/pkg/event_handler/event_handler.go index 401887e..ae4b41d 100644 --- a/pkg/event_handler/event_handler.go +++ b/pkg/event_handler/event_handler.go @@ -25,7 +25,7 @@ func Start(eventListener IListener, initControllerHandler func() (IStoppableRsyn if controllerHandler != nil { controllerHandler.Stop() } - controllerHandler.Stop() + newController, resyncErr := initControllerHandler() controllerHandler = newController