mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-16 14:53:49 +00:00
Update tap.go
This commit is contained in:
@@ -65,7 +65,7 @@ Supported protocols are HTTP and gRPC.`,
|
|||||||
if parseHumanDataSizeErr != nil {
|
if parseHumanDataSizeErr != nil {
|
||||||
return errors.New(fmt.Sprintf("Could not parse --max-entries-db-size value %s", humanMaxEntriesDBSize))
|
return errors.New(fmt.Sprintf("Could not parse --max-entries-db-size value %s", humanMaxEntriesDBSize))
|
||||||
}
|
}
|
||||||
fmt.Printf("Mizu will store up to %s in traffic, old traffic will be cleared once the limit is reached.\n", units.BytesToHumanReadable(mizuTapOptions.MaxEntriesDBSizeBytes))
|
fmt.Printf("Mizu will store up to %s of traffic, old traffic will be cleared once the limit is reached.\n", units.BytesToHumanReadable(mizuTapOptions.MaxEntriesDBSizeBytes))
|
||||||
|
|
||||||
directionLowerCase := strings.ToLower(direction)
|
directionLowerCase := strings.ToLower(direction)
|
||||||
if directionLowerCase == "any" {
|
if directionLowerCase == "any" {
|
||||||
|
Reference in New Issue
Block a user