From d80143af4c3b028348e2cd9cbe5ff80f6aacee14 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 29 Jan 2026 10:26:48 +0100 Subject: [PATCH] checklocks: Remove ignore since generics are supported now. --- container/concurrentmap.go | 2 +- test/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/container/concurrentmap.go b/container/concurrentmap.go index b9aa3db..8170446 100644 --- a/container/concurrentmap.go +++ b/container/concurrentmap.go @@ -28,7 +28,7 @@ import ( type ConcurrentMap[K comparable, V any] struct { mu sync.RWMutex // +checklocks:mu - d map[K]V // +checklocksignore: Not supported yet, see https://github.com/google/gvisor/issues/11671 + d map[K]V } func (m *ConcurrentMap[K, V]) Set(key K, value V) { diff --git a/test/storage.go b/test/storage.go index 7d1f694..9b23ad3 100644 --- a/test/storage.go +++ b/test/storage.go @@ -29,7 +29,7 @@ import ( type Storage[T any] struct { mu sync.Mutex // +checklocks:mu - entries map[string]T // +checklocksignore: Not supported yet, see https://github.com/google/gvisor/issues/11671 + entries map[string]T } func (s *Storage[T]) cleanup(key string) {