Skip to content
Snippets Groups Projects
Unverified Commit 48eb61ba authored by Mohamed S. Mahmoud's avatar Mohamed S. Mahmoud Committed by GitHub
Browse files

Merge pull request #486 from msherif1234/fix_pca

fix make sure flow filter is on by default for pca
parents 75e6697a 18e530d7
Branches
Tags
No related merge requests found
......@@ -78,7 +78,6 @@ func PacketsAgent(cfg *Config) (*Packets, error) {
debug = true
}
filterRules := make([]*tracer.FilterConfig, 0)
if cfg.EnableFlowFilter {
var flowFilters []*FlowFilter
if err := json.Unmarshal([]byte(cfg.FlowFilterRules), &flowFilters); err != nil {
return nil, err
......@@ -99,7 +98,6 @@ func PacketsAgent(cfg *Config) (*Packets, error) {
FilterSample: r.FilterSample,
})
}
}
ebpfConfig := &tracer.FlowFetcherConfig{
EnableIngress: ingress,
EnableEgress: egress,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment