From 6cafc0b2639e900dabac73873349e266fed8d6dd Mon Sep 17 00:00:00 2001 From: VioletHynes Date: Tue, 24 Sep 2024 13:13:36 -0400 Subject: [PATCH] Fix static ssecret caching data race --- command/agentproxyshared/cache/lease_cache.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/command/agentproxyshared/cache/lease_cache.go b/command/agentproxyshared/cache/lease_cache.go index 4a314d30053d..b29a57461320 100644 --- a/command/agentproxyshared/cache/lease_cache.go +++ b/command/agentproxyshared/cache/lease_cache.go @@ -789,8 +789,6 @@ func (c *LeaseCache) storeStaticSecretIndex(ctx context.Context, req *SendReques return err } - // TODO Violet: Lock here, unlock before set - path := getStaticSecretPathFromRequest(req) capabilitiesIndex.IndexLock.Lock()