Skip to content

Commit

Permalink
Fix static ssecret caching data race
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Sep 24, 2024
1 parent 2ea5144 commit 6cafc0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions command/agentproxyshared/cache/lease_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6cafc0b

Please sign in to comment.