fix vet
This commit is contained in:
parent
b372198840
commit
78f30e0056
|
|
@ -21,8 +21,8 @@ func (u *DatadogUnifi) batchIDs(r report, i *unifi.IDS) { // nolint:dupl
|
||||||
}
|
}
|
||||||
|
|
||||||
tagMap := map[string]string{
|
tagMap := map[string]string{
|
||||||
"dest_port": strconv.Itoa(i.DestPort),
|
"dest_port": strconv.Itoa(i.DestPort.Int()),
|
||||||
"src_port": strconv.Itoa(i.SrcPort),
|
"src_port": strconv.Itoa(i.SrcPort.Int()),
|
||||||
"dest_ip": i.DestIP,
|
"dest_ip": i.DestIP,
|
||||||
"dst_mac": i.DstMAC,
|
"dst_mac": i.DstMAC,
|
||||||
"host": i.Host,
|
"host": i.Host,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue