Chore: cache process name when resolve failed (#900)

This commit is contained in:
gVisor bot 2020-08-15 16:55:55 +08:00
parent 3a5f31d5a1
commit 639997db38
2 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
name, err := getExecPathFromAddress(metadata)
if err != nil {
log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error())
return false
}
processCache.Set(key, name)

View File

@ -35,7 +35,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
name, err := getExecPathFromAddress(metadata)
if err != nil {
log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error())
return false
}
processCache.Set(key, name)