mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: use gofumpt
Undecided if we need to use it. I think it's nice.
This commit is contained in:
@@ -150,7 +150,6 @@ func (nd *Decoder) Decode(in decoder.RawFlow) []*schema.FlowMessage {
|
||||
ts := uint64(in.TimeReceived.UTC().Unix())
|
||||
buf := bytes.NewBuffer(in.Payload)
|
||||
msgDec, err := netflow.DecodeMessage(buf, templates)
|
||||
|
||||
if err != nil {
|
||||
switch err.(type) {
|
||||
case *netflow.ErrorTemplateNotFound:
|
||||
|
||||
Reference in New Issue
Block a user