Fix the storage limit flag description and log

This commit is contained in:
M. Mert Yildiran
2022-12-29 08:59:55 +03:00
parent c445b345f7
commit 81379c0cc6
2 changed files with 5 additions and 5 deletions

View File

@@ -48,6 +48,10 @@ func tap() {
return
}
log.Info().
Str("limit", config.Config.Tap.StorageLimit).
Msg(fmt.Sprintf("%s will store the traffic up to a limit (per node). Oldest TCP streams will be removed once the limit is reached.", misc.Software))
connector = connect.NewConnector(kubernetes.GetLocalhostOnPort(config.Config.Tap.Proxy.Hub.SrcPort), connect.DefaultRetries, connect.DefaultTimeout)
kubernetesProvider, err := getKubernetesProviderForCli()