-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conf gen updates #262
Conf gen updates #262
Conversation
Codecov Report
@@ Coverage Diff @@
## main #262 +/- ##
==========================================
+ Coverage 60.06% 60.11% +0.05%
==========================================
Files 67 69 +2
Lines 4014 4102 +88
==========================================
+ Hits 2411 2466 +55
- Misses 1451 1474 +23
- Partials 152 162 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -54,16 +54,16 @@ func dedupeNetworkTransformRules(rules api.NetworkTransformRules) api.NetworkTra | |||
// dedupeAggregateDefinitions is inefficient because we can't use a map to look for duplicates. | |||
// The reason is that aggregate.AggregateDefinition is not hashable due to its AggregateBy field which is a slice. | |||
func dedupeAggregateDefinitions(aggregateDefinitions aggregate.Definitions) aggregate.Definitions { | |||
var dedpueSlice []api.AggregateDefinition |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
@@ -21,161 +21,163 @@ import ( | |||
"fmt" | |||
"io/ioutil" | |||
|
|||
"github.com/netobserv/flowlogs-pipeline/pkg/api" | |||
config2 "github.com/netobserv/flowlogs-pipeline/pkg/config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to reserve the word config
for this import and rename all the other variables named "config".
No description provided.