From 0f5535ea2590a22bcec629eed9a27a7fff3dd46b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 22 May 2023 12:35:43 +0200 Subject: [PATCH] registry/core/service: remove incorrect comments These interface methods are not only used for testing. Remove the incorrect comments. --- pkg/registry/core/service/allocator/interfaces.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/registry/core/service/allocator/interfaces.go b/pkg/registry/core/service/allocator/interfaces.go index 41f966858b7..1328425ffcf 100644 --- a/pkg/registry/core/service/allocator/interfaces.go +++ b/pkg/registry/core/service/allocator/interfaces.go @@ -23,11 +23,7 @@ type Interface interface { AllocateNext() (int, bool, error) Release(int) error ForEach(func(int)) - - // For testing Has(int) bool - - // For testing Free() int // Destroy shuts down all internal structures.