otterize / network-mapper

Map Kubernetes traffic: in-cluster, to the Internet, and to AWS IAM and export as text, intents, or an image
Apache License 2.0
612 stars 23 forks source link

Fix bug: Cooldown interval config used instead of report interval #158

Closed NetanelBollag closed 11 months ago

NetanelBollag commented 11 months ago

Description

Until this PR the kafka-cooldown-interval argument was used to set the time between reports to the network mapper instead of kafka-report-interval. This PR change it to read the right configuration.

Testing

Since it's an infrastructural low level detail there is no test who check the interval. It can be reproduce by setting a value to report interval argument and checking time between reports in the logs.

Checklist

There is no new functionality to document