mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-08 14:01:51 +00:00
🔨 Replace the Agent
naming in functions and variables
This commit is contained in:
@@ -19,9 +19,9 @@ func FormatError(err error) error {
|
||||
"supply the required permission or control Kubeshark's access to namespaces by setting %s "+
|
||||
"in the config file or setting the tapped namespace with --%s %s=<NAMEPSACE>",
|
||||
err,
|
||||
config.KubesharkResourcesNamespaceConfigName,
|
||||
config.ResourcesNamespaceConfigName,
|
||||
config.SetCommandName,
|
||||
config.KubesharkResourcesNamespaceConfigName)
|
||||
config.ResourcesNamespaceConfigName)
|
||||
} else if syntaxError, isSyntaxError := asRegexSyntaxError(err); isSyntaxError {
|
||||
errorNew = fmt.Errorf("regex %s is invalid: %w", syntaxError.Expr, err)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user