mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-21 08:33:28 +00:00
remove unused and commented lines that are not relevant
This commit is contained in:
@@ -61,11 +61,7 @@ var anydirection = flag.Bool("anydirection", false, "Capture requests to other h
|
||||
var staleTimeoutSeconds = flag.Int("staletimout", 120, "Max time in seconds to keep connections which don't transmit data")
|
||||
|
||||
var memprofile = flag.String("memprofile", "", "Write memory profile")
|
||||
|
||||
// output
|
||||
var HarOutputDir = flag.String("hardir", "", "Directory in which to store output har files")
|
||||
var harEntriesPerFile = flag.Int("harentriesperfile", 200, "Number of max number of har entries to store in each file")
|
||||
|
||||
|
||||
var statsTracker = StatsTracker{}
|
||||
|
||||
// global
|
||||
@@ -267,12 +263,6 @@ func startPassiveTapper(outputItems chan *api.OutputChannelItem) {
|
||||
}
|
||||
}
|
||||
|
||||
// if *dumpToHar {
|
||||
// harWriter.Start()
|
||||
// defer harWriter.Stop()
|
||||
// }
|
||||
// defer outboundLinkWriter.Stop()
|
||||
|
||||
var dec gopacket.Decoder
|
||||
var ok bool
|
||||
decoderName := *decoder
|
||||
|
||||
Reference in New Issue
Block a user