Skip to content
Snippets Groups Projects
Unverified Commit 15d13002 authored by Joel Takvorian's avatar Joel Takvorian Committed by GitHub
Browse files

nit: unused Duplicate field in protobuf (#616)

parent 6c04bb66
No related branches found
No related tags found
No related merge requests found
......@@ -276,8 +276,7 @@ type Record struct {
Bytes uint64 `protobuf:"varint,8,opt,name=bytes,proto3" json:"bytes,omitempty"`
Packets uint64 `protobuf:"varint,9,opt,name=packets,proto3" json:"packets,omitempty"`
Interface string `protobuf:"bytes,10,opt,name=interface,proto3" json:"interface,omitempty"`
// if true, the same flow has been recorded via another interface.
// From all the duplicate flows, one will set this value to false and the rest will be true.
// Deprecated / unused
Duplicate bool `protobuf:"varint,11,opt,name=duplicate,proto3" json:"duplicate,omitempty"`
// Agent IP address to help identifying the source of the flow
AgentIp *IP `protobuf:"bytes,12,opt,name=agent_ip,json=agentIp,proto3" json:"agent_ip,omitempty"`
......
......@@ -45,8 +45,7 @@ message Record {
uint64 packets = 9;
string interface = 10;
// if true, the same flow has been recorded via another interface.
// From all the duplicate flows, one will set this value to false and the rest will be true.
// Deprecated / unused
bool duplicate = 11;
// Agent IP address to help identifying the source of the flow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment