util/syspolicy: add caching handler (#10288)
Fixes tailscale/corp#15850 Co-authored-by: Adrian Dewhurst <adrian@tailscale.com> Signed-off-by: Claire Wang <claire@tailscale.com>
This commit is contained in:
@ -12,7 +12,7 @@ import (
|
||||
type windowsHandler struct{}
|
||||
|
||||
func init() {
|
||||
RegisterHandler(windowsHandler{})
|
||||
RegisterHandler(NewCachingHandler(windowsHandler{}))
|
||||
}
|
||||
|
||||
func (windowsHandler) ReadString(key string) (string, error) {
|
||||
|
Reference in New Issue
Block a user