diff options
author | Valery Piashchynski <[email protected]> | 2021-08-18 17:26:42 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-18 17:26:42 +0300 |
commit | 324407b3e2d779143be65872993c4d091abb1d38 (patch) | |
tree | e6f0bd64241ab2d4dc05809128c8e8d7d74cbcc4 /plugins/server | |
parent | a5435be8ab58bd23f1c2d3afd4484dd1d86b6002 (diff) | |
parent | eb70b89cb2f23ccd44b91bbcac7438a05a40c801 (diff) |
#764: feat(stat): `job` plugin drivers statistic
#764: feat(stat): `job` plugin drivers statistic
Diffstat (limited to 'plugins/server')
-rw-r--r-- | plugins/server/command.go | 2 | ||||
-rw-r--r-- | plugins/server/plugin.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/server/command.go b/plugins/server/command.go index e0b61896..b8bc1395 100644 --- a/plugins/server/command.go +++ b/plugins/server/command.go @@ -29,5 +29,5 @@ func (server *Plugin) scanCommand(cmd []string) error { return nil } } - return errors.E(errors.Str("scan failed, possible path not found"), op) + return errors.E(errors.Str("scan failed, possible path not found, this is not an error"), op) } diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go index 1694cdf1..16e3bd8c 100644 --- a/plugins/server/plugin.go +++ b/plugins/server/plugin.go @@ -97,7 +97,7 @@ func (server *Plugin) CmdFactory(env Env) (func() *exec.Cmd, error) { // try to find a path here err := server.scanCommand(cmdArgs) if err != nil { - server.log.Info("scan command", "error", err) + server.log.Info("scan command", "reason", err) } return func() *exec.Cmd { |