mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
build: fix various lint issues
revive default configuration has changed in 1.3.0. Some stuff is a bit silly (like empty blocks), but I find it easier to follow that than to try to tweak the configuration.
This commit is contained in:
@@ -547,12 +547,11 @@ ClassifyProviderRegex(Interface.Description, "^Transit: ([^ ]+)", "$1")`,
|
||||
}
|
||||
return nil
|
||||
})
|
||||
} else {
|
||||
// We should not get a message, but that's not possible to test.
|
||||
}
|
||||
flowComponent.Inject(t, tc.InputFlow())
|
||||
// Else, we should not get a message, but that's not possible to test.
|
||||
flowComponent.Inject(tc.InputFlow())
|
||||
time.Sleep(50 * time.Millisecond) // Needed to let poller does its job
|
||||
flowComponent.Inject(t, tc.InputFlow())
|
||||
flowComponent.Inject(tc.InputFlow())
|
||||
if tc.OutputFlow != nil {
|
||||
select {
|
||||
case <-received:
|
||||
|
||||
Reference in New Issue
Block a user