mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-27 04:49:05 +00:00
Update root.go
This commit is contained in:
parent
f846a55353
commit
6714606901
@ -19,7 +19,7 @@ func init() {
|
|||||||
return rootCmd.Help()
|
return rootCmd.Help()
|
||||||
}
|
}
|
||||||
|
|
||||||
regex := regexp.MustCompile(args[0]) // MustCompile panics if expression cant be compiled into regex
|
regex := regexp.MustCompile(args[0]) // TODO: show proper error message when this fails
|
||||||
mizu.Run(regex)
|
mizu.Run(regex)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user