From 70732f222b96fbf022cd27e348d1d5d0b7db7529 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Thu, 30 Jul 2020 17:15:06 +0800 Subject: [PATCH] Fix: update cache if a process was found (#850) --- rules/process_darwin.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/process_darwin.go b/rules/process_darwin.go index 808a3b5f..1b18a006 100644 --- a/rules/process_darwin.go +++ b/rules/process_darwin.go @@ -39,6 +39,8 @@ func (ps *Process) Match(metadata *C.Metadata) bool { return false } + processCache.Set(key, name) + cached = name }