Skip to content
Snippets Groups Projects
Commit 0ca5d050 authored by Malte Bauch's avatar Malte Bauch
Browse files

Apply feedback

parent 63bb2b26
No related branches found
No related tags found
No related merge requests found
Pipeline #117232 passed
...@@ -116,7 +116,6 @@ func (e *Service) setupQueueConsume(topic string, stopChan chan os.Signal) error ...@@ -116,7 +116,6 @@ func (e *Service) setupQueueConsume(topic string, stopChan chan os.Signal) error
val, ok := e.subscriber[parseTypeString(event.Type)] val, ok := e.subscriber[parseTypeString(event.Type)]
if ok { if ok {
val(event) val(event)
fmt.Println()
} }
} }
}() }()
......
...@@ -70,7 +70,7 @@ func (a *Application) NetworkElementCallback(event *event.Event) { ...@@ -70,7 +70,7 @@ func (a *Application) NetworkElementCallback(event *event.Event) {
if changedInterfaces != nil { if changedInterfaces != nil {
for _, changedInterface := range changedInterfaces { 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)
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment