fix: Sandbox profile loader from file should use path for caching

This commit is contained in:
Abhisek Datta
2026-01-09 12:52:16 +05:30
parent 188f6f3d90
commit 66b9279924
+1 -1
View File
@@ -99,7 +99,7 @@ func (r *defaultProfileRegistry) LoadCustomProfile(path string) (*SandboxPolicy,
}
r.mu.Lock()
r.profiles[policy.Name] = policy
r.profiles[path] = policy
r.mu.Unlock()
return policy, nil