From c3374580d1104ed7760b836f6270819cfb0a86ab Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@extern.h-da.de> Date: Mon, 17 Oct 2022 16:01:30 +0200 Subject: [PATCH] Apply feedback --- application-framework/event/eventService.go | 1 - applications/basic-interface-monitoring/app.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/application-framework/event/eventService.go b/application-framework/event/eventService.go index c6f9040d0..9edf6b709 100644 --- a/application-framework/event/eventService.go +++ b/application-framework/event/eventService.go @@ -116,7 +116,6 @@ func (e *Service) setupQueueConsume(topic string, stopChan chan os.Signal) error val, ok := e.subscriber[parseTypeString(event.Type)] if ok { val(event) - fmt.Println() } } }() diff --git a/applications/basic-interface-monitoring/app.go b/applications/basic-interface-monitoring/app.go index 1a982598a..9f82cca69 100644 --- a/applications/basic-interface-monitoring/app.go +++ b/applications/basic-interface-monitoring/app.go @@ -70,7 +70,7 @@ func (a *Application) NetworkElementCallback(event *event.Event) { if changedInterfaces != nil { for _, changedInterface := range changedInterfaces { - fmt.Printf("Change on %s: status of interface %s has changed to %s", changedInterface.NetworkElementName, changedInterface.Name, changedInterface.Status) + fmt.Printf("Change on %s: status of interface %s has changed to %s\n", changedInterface.NetworkElementName, changedInterface.Name, changedInterface.Status) } } } -- GitLab